Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support initializing logger and sinker by configuration #135

Closed
yyh-graphsql opened this issue Oct 27, 2016 · 0 comments
Closed

Support initializing logger and sinker by configuration #135

yyh-graphsql opened this issue Oct 27, 2016 · 0 comments

Comments

@yyh-graphsql
Copy link

yyh-graphsql commented Oct 27, 2016

I have a few requirements:

  • I want to use different logger in the client code, which each logger can sink to different files. (Which now in glog, I think I can only sink to a specific prefix file)
  • If it is possible the logging file names xxx.LOG; xxx.LOG.xxx. But not seperated by log level (Actually I want to seperate logging files by the type of logging, e.g. rpc info logging, other statistics logging)?
  • Can we have a configuration to set the logger and its sinker. (logger shows what the logging belongs to, sinker shows the destination and the rotate threshold)

Or Are there any possible ways to do things above based on glog?

@yyh-graphsql yyh-graphsql changed the title Support initialize logger and sinker by configuration Support initializing logger and sinker by configuration Oct 27, 2016
@sergiud sergiud closed this as completed Mar 30, 2021
@sergiud sergiud mentioned this issue May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants