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

outdated helptext for ipfs log level #2551

Closed
boozook opened this issue Apr 12, 2016 · 4 comments
Closed

outdated helptext for ipfs log level #2551

boozook opened this issue Apr 12, 2016 · 4 comments
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue

Comments

@boozook
Copy link

boozook commented Apr 12, 2016

ipfs version 0.4.0

# ipfs log level all info
Changed log level of '*' to 'info'
# ipfs log level all fatal
Error: logger: invalid log level
# ipfs log level all panic
Error: logger: invalid log level

But help says:

ipfs log level --help 

    ipfs log level <subsystem> <level> - Change the logging level.

ARGUMENTS:

    <subsystem> - The subsystem logging identifier. Use 'all' for all subsystems.
    <level>     - The log level, with 'debug' the most verbose and 'panic' the least verbose.
                One of: debug, info, warning, error, fatal, panic.
@boozook
Copy link
Author

boozook commented Apr 12, 2016

And one question: How can I check if daemon is alive?

@whyrusleeping
Copy link
Member

It looks like that help text is out of date, there arent fatal and panic levels anymore.

As for best way of checking daemon liveness, i normally run ipfs id and make sure that the addresses field isnt null. Having addresses there means your node is online.

@boozook
Copy link
Author

boozook commented Apr 12, 2016

@whyrusleeping Thank you. I now do it that way.

@whyrusleeping whyrusleeping changed the title Cant change log level of * to fatal /panic outdated helptext for ipfs log level Apr 12, 2016
@whyrusleeping whyrusleeping added help wanted Seeking public contribution on this issue exp/novice Someone with a little familiarity can pick up labels Apr 12, 2016
pfista added a commit to pfista/go-ipfs that referenced this issue Apr 14, 2016
Log levels fatal and panic were removed. Updating command help text to reflect
current log levels available.

Fixes ipfs#2551

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue
Projects
None yet
Development

No branches or pull requests

2 participants