Description
Following to the discussion.
I thing that this behavior should be documented somewhere.
According to previous release notes, error_logger
environment variable should be deprecated and replaced by env vars in logger
.
However, there is no environment variable for logger
configuration that makes simple
handler to disappear.
My opinion is that simple
handler should be removed after the configuration by default - current behavior was pretty unexpected to me. If I got it correctly, the purpose of simple
handler is just not to loose logs while reconfiguration - I don't see simple logger being added anywhere else.
I'm open to make a PR if anyone can point me what exactly should be done.
Should be just document error_logger
env or should we change the behavior?
Activity