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

use the appropriate log level #5495

Closed
6 tasks done
halibobo1205 opened this issue Sep 14, 2023 · 4 comments
Closed
6 tasks done

use the appropriate log level #5495

halibobo1205 opened this issue Sep 14, 2023 · 4 comments

Comments

@halibobo1205
Copy link
Contributor

halibobo1205 commented Sep 14, 2023

Rationale

Why should this feature exist?

Logging levels distinguish various log events from each other. They are used for filtering important information about your system’s state and reducing information noise or alert fatigue. It is essential to realize that the logging event level is the key to this process. Setting a specific log level in the logging framework ensures less important logging levels can be reasonably ignored.
It is crucial to choose the right logging level when developing an application. This is beneficial to everyone using logs when searching for problems, creating alerts, troubleshooting, or regularly checking the application.
During coding, it may not seem like an important thing to consider. Yet, it is still essential to ease information search, alerting, and filtering when handling vast log messages that the systems produce. To make your logs more useful, ensure that you choose the right logging levels.

Implementation

Do you have ideas regarding the implementation of this feature?

image

Are you willing to implement this feature?

This is an ongoing improvement.

Related PRs

@JeetDSharma
Copy link

@halibobo1205, I would like to provide help on this issue

@JeetDSharma
Copy link

@halibobo1205 on what part/file should I start working on, also I am new open source hence apologies for any inconvenience. in advance.

@halibobo1205
Copy link
Contributor Author

@JeetDSharma Hello, you can start from framework/src/main/java/org/tron/core/services, this is the API, and there may be some unreasonable logging. Your contributions are welcome!

@halibobo1205
Copy link
Contributor Author

@JeetDSharma Anything new so far?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants