-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
Fix quickstart log4rs.yaml sample #332
Conversation
Can you add some test that verify that this doesn't happen again? @bconn98 can you review this please? |
@estk @vladimirr9 Can confirm the README was incorrect and now works as expected. @vladimirr9 Are you able to add a test? |
Not too experienced with rust. I see there's already a test to ensure the config is read properly and correct under |
Added a test that does readme parsing in order to get the config from there. |
The test does indeed catch that the config in main is bad. However, it doesn't catch a couple other weird indentations I give it. Let me think on it. |
The failure to capture the bad configs isn't your test lacking but the deserializer failing to capture. @estk IMO this deserves a followup issue to investigate and address. |
New issue: #334 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #332 +/- ##
=======================================
Coverage 61.12% 61.12%
=======================================
Files 23 23
Lines 1407 1407
=======================================
Hits 860 860
Misses 547 547 ☔ View full report in Codecov by Sentry. |
not sure how to resolve the lint stuff, @bconn98 , any ideas? |
@estk we don’t have many markdown files. We could just reduce the spaces to 2 for markdown as well as yaml. |
Sounds good to me. |
@vladimirr9 Hey, can you resolve the rustfmt error by cleaning up the trailing whitespace? Also make the following change in [*.md]
trim_trailing_whitespace = false
indent_size = 2 |
Made the changes. |
@estk kick off a CI and then it should be all set |
@vladimirr9 Actually looks like you need to rebase main in |
Rebased |
Fails parsing the current config. Seems to have been changed accidentally as it doesn't make sense that root and logger are defined within appenders.