-
Notifications
You must be signed in to change notification settings - Fork 519
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 config #2943
Comments
Yeah I believe by default This sequence of calls goes to I think |
The reason why it's failing is that I tried to replace I tried swapping Do you have any clue whats causing that |
oh yeah. Common Test hooks add their own config in there and call the same function. Probably means that CT tests need to change how they're passing their config to also support this pattern by interacting with kernel options before and after the tests. Woops, that increases scope. |
Following an Logger example I noticed that basic alternation of
default
handler doesn't seem to work in combination withrebar3 shell
:This gives no result, configuration is not applied.
When I call
erl -config config/sys.config
the configuration is applied as it should be. Even after I calllogger:reconfigure/0
, the configuration stays the same. However, when I dorebar3 shell
with the same sys config file, it seems to be ignored. What is weird is that if I slightly modify the config by first settingdefault
handler toundefined
, then it works:The behavior seems to be specific only for the
default
handler.Using Rebar 3.24.0 with OTP 27.1.2
The text was updated successfully, but these errors were encountered: