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

WIP: Improve logging #115

Closed
wants to merge 2 commits into from
Closed

WIP: Improve logging #115

wants to merge 2 commits into from

Conversation

t-buss
Copy link
Contributor

@t-buss t-buss commented Jan 10, 2019

Fix #112

Added some additional logging statements to make it easier to see whats going on during testing.

I ran into some issues though: When running the tester's test suite, there is only one log output that says Saving event to log: ...
Here is that I observed:

  • As I mentioned above, there is only a single debug output at the very beginning of the test run
  • When changing the line from logger.debug(...) to logger.info(...), the desired output is visible, but we can't use that log level as it is way to verbose for big projects
  • Other debug-level outputs are visible in the log
  • The logback.xml is found on the classpath during execution, as changing the log level from debug to info in that file hides all debug-level output

UPDATE:
Managed to manually configure the log level for the tester. Before we merge these changes however, I'd like to test it out with a few sample projects to see if the logging works as expected with different logging frameworks.
There should also be a reference in the readme.

Copy link
Member

@florianluediger florianluediger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tried this in the budgeteer project and it did not seem to work.
The info log message "Report created at xy" is being displayed, but the debug messages are not.

@t-buss t-buss closed this Apr 27, 2021
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.

Improve logging
3 participants