-
Notifications
You must be signed in to change notification settings - Fork 101
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
Redirect all logs to file when MM_LOG is set. #754
Comments
Changes were pushed into mm2.1 branch. |
Well done! I like a lot that we now have both log level and location of a print, e.g.
I have a question ref this: is it possible to cut path segments from log, e.g print |
Yes, we can do this using the |
@artemii235 I've tried to figure out how to cut the path like |
Yeah, I'd like to avoid this too 🙂
It is ok to have the I guess we can copy the |
@sergeyboyko0791 Thanks for implementing this 🙂 |
There're some deps now that use
log
crate for logging and this output is not forwarded to log file. We need to find a way to forward them too because they can contain very important information about what's going on in libp2p behaviours.The text was updated successfully, but these errors were encountered: