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

[Issue-35] remove log configuration and add example for debug #44

Closed

Conversation

dkovalenkoI
Copy link
Contributor

Summary

Our code has a static block that creates a sl4j bridge and set up a log level for the whole application.
That behavior overrides the default application configuration.
With the fix redundant code blocks has been removed and documentation on how to trace using the different application has been added to README.md

Description

The driver overrides LOG level for the application. (Application print logs that are available only for trace/debug purposes)

Related Issue

Issue-35

Tests performed/created

Unit tests:

All existing Unit tests passed

Manual verification:

  1. Build the project with the command mvn clean install

  2. Use the signed jar in DBeaver

  3. Create a timestream connection

  4. Open Logs and verify that timestream driver logs present

  5. Build the project with the command mvn clean install

  6. Use the signed jar in `new java project as a dependency

  7. Create a timestream connection

  8. Open Logs and verify that timestream driver logs present

  9. Change the Log level to debug

  10. Verify that additional driver logs are added to the log file

Additional Reviewers

@alexey-temnikov

@dkovalenkoI dkovalenkoI closed this Aug 4, 2023
@dkovalenkoI dkovalenkoI deleted the dkovalenkoI/AT-1469-remove-log-config branch August 4, 2023 16:36
@dkovalenkoI
Copy link
Contributor Author

dkovalenkoI commented Aug 4, 2023

The changes has been merged by another task
Commit: f3ef77a
PR: #45

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

Successfully merging this pull request may close these issues.

2 participants