This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Custom logging override still produces default log file #29
Labels
Comments
what happens if an error occurs before we get to the users custom override? |
We back to square one 😞 |
How about we add a magic |
@SimonCropp v6 of the host is ready to go out, should we wait for this fix too? |
@johnsimons i dont have an opinion |
@johnsimons so how was "an error occurring before we got to the users custom logging" handled in v4? |
no idea @SimonCropp |
Fixed in 3778f7d |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When a user overrides logging to use a custom one, the host override is too late and the default log still executes creating a default log file with at least 2 INFO entries in it.
This occurs because INFO is the default level.
A solution is to ensure all logging entries before the user can override are below the default INFO level.
Raised by @johnsimons
Migrated from by Particular/NServiceBus#2574
The text was updated successfully, but these errors were encountered: