-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Logger: Fix timestamp and format #5571
Logger: Fix timestamp and format #5571
Conversation
get non json console loggging by default
timestamps in files
is not filtering on level.
closes #5561 |
@acinader Looks good to me. Closed/open to force travis to run |
Oops I didn't see that when you moved from Draft to PR. |
well good thing you did! looking at the tests that I thought were fixed... |
becuase we have timestamps.
Codecov Report
@@ Coverage Diff @@
## master #5571 +/- ##
==========================================
- Coverage 94.06% 94.03% -0.03%
==========================================
Files 129 129
Lines 9192 9194 +2
==========================================
Hits 8646 8646
- Misses 546 548 +2
Continue to review full report at Codecov.
|
* remove no-op config of logger * add a test to check on the timestamp * add a test to verify that we get non json console loggging by default * configure transports to include timestamps in files * Add failing test to confirm that WinstonLoggerAdapter is not filtering on level. * actually fix the test to refelect the facth that this isn't the problem * Remove bogus date ranges that are now failing becuase we have timestamps.
fixes: #5560
When digging into the failed tests on #5561 I realized that we want to configure each transport, rather than the whole logger.
I also think we have to handle json distinctly, so I started a new branch.
@mrowe009 did the hard work here....