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

IPFS daemon info logs #1816

Closed
croqaz opened this issue Oct 9, 2015 · 3 comments
Closed

IPFS daemon info logs #1816

croqaz opened this issue Oct 9, 2015 · 3 comments

Comments

@croqaz
Copy link

croqaz commented Oct 9, 2015

Hi all,

I am using the ipfs daemon with the --debug option, but the output is so huge, that is completely useless.

An ipfs daemon --verbose option that will show relevant output for a regular user would be very useful.
So when you add, name publish, etc, you see the command in the log and if it was a success, or a failure in some way.

This would be an improvement.

@jbenet
Copy link
Member

jbenet commented Oct 11, 2015

Try less logging:

IPFS_LOGGING=info ipfs daemon

An ipfs daemon --verbose option that will show relevant output for a
regular user would be very useful.
So when you add, name publish, etc, you see the command in the log and if
it was a success, or a failure in some way.

Have you seen the eventlog output? try

ipfs log tail
# or
curl http://localhost:5001/logs

Maybe we should have an option that outputs nginx-like formatted logs from
the eventlog.

i do not want to have yet another set of logs, we already have two. what
we need is to filter these down to meaningful signal for users.

this is not an easy task. but we could start by commenting out all current
logs and readd the ones we need

On Friday, October 9, 2015, Cristi Constantin notifications@github.com
wrote:

Hi all,

I am using the ipfs daemon with the --debug option, but the output is so
huge, that is completely useless.

An ipfs daemon --verbose option that will show relevant output for a
regular user would be very useful.
So when you add, name publish, etc, you see the command in the log and if
it was a success, or a failure in some way.

This would be an improvement.


Reply to this email directly or view it on GitHub
#1816.

@whyrusleeping
Copy link
Member

whyrusleeping commented Oct 11, 2015

you can modify the log levels while the daemon is running with ipfs log level, it allows you to tweak per subsystem to suit your needs.

@croqaz
Copy link
Author

croqaz commented Oct 12, 2015

It's ok. Thank you !

I didn't see the option when I was typing ipfs and ipfs | grep log.

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

3 participants