-
Notifications
You must be signed in to change notification settings - Fork 18
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
[log] logging system #129
Labels
Comments
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is no longer future work. In an asynchronous environment, logging system is required!!! we can't expect many scenario and debug easily.
For example, go-ethereum has 6-level-log option
Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=core, 5=debug, 6=detail (default: 3)
And parity can only log special actions
sync=debug,rpc=trace
Now we use
iLogger
which based onlogrus
. andiLogger
has 6-level for logInfo
,Warn
,Debug
,Error
,Fatal
,Panic
And i think we need to log each component(Especially
ACS
,RBC
,BBA
) like parity can only log rpc or sync!Reference
https://www.datadoghq.com/blog/go-logging/#track-golang-logs-across-microservices
https://github.com/DE-labtory/iLogger
https://github.com/sirupsen/logrus
https://github.com/ethereum/go-ethereum/tree/master/log
#128
-> it maybe used only test
The text was updated successfully, but these errors were encountered: