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

Enhancement: improve SL4J log level and log messages quality #31

Open
fhussonnois opened this issue Jul 29, 2021 · 0 comments
Open

Enhancement: improve SL4J log level and log messages quality #31

fhussonnois opened this issue Jul 29, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@fhussonnois
Copy link

fhussonnois commented Jul 29, 2021

The connector seems to use the log prefix ======= in a random way leading to poor quality of logged messages. In addition, the connector seems to have a bad use of the log levels, i.e., DEBUG, TRACE, INFO for logging exception.

log.info(
"================ Encountered exception in message processing....discarded."
+ " Cause: {}, Stacktrace: {} ",
e.getCause(), e.getStackTrace());

Unfortunately, this makes the logs difficult to analyze in a production environment and it is difficult to trace errors.

@PhilippeKhalife PhilippeKhalife added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants