-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Enumerate log level subsystem commands #2306
Conversation
See #2305 License: MIT Signed-off-by: Richard Littauer <[email protected]>
There are more subsystems and even more sub-subsystems. |
Cool. What are they? Can you log subsubsystems? |
I always have to search the code when looking for logger that is handling given system. I have no idea if there is some general solution. Example of subsubsystem logger: https://github.com/ipfs/go-ipfs/blob/master/core/corehttp/corehttp.go#L20 |
So, that's less than ideal, because someone may not know they can search for them. How do you know if something is a subsystem? How does the system know? |
Here are all logger modules: https://gist.github.com/Kubuxu/ff5c472713a3f058049f |
Hmm. That is a lot. Maybe we can mention that in the mans? Not all of them, but a way to find them all? Maybe even just that grep command. cc @whyrusleeping |
we could have a log subcommand that lists all registered logger subsystems |
I would like that. |
@whyrusleeping I just found this interesting log event: |
@RichardLitt what do we want to do here? There are too many subsystems to enumerate in the argument description. |
@whyrusleeping: "we could have a log subcommand that lists all registered logger subsystems" We should do this. It should be called |
@RichardLitt cool, i'll file an issue describing that command, and then close this PR |
See #2305
License: MIT
Signed-off-by: Richard Littauer [email protected]