Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Logger] Do not enforce the file and enable/disable logging on the fly #2242

Open
JeffreyDevloo opened this issue Jan 15, 2019 · 1 comment

Comments

@JeffreyDevloo
Copy link
Contributor

The Framework current logging sets up a filehandler for every logger instantiated. This is just plain wrong.
It enforces:

  • The file to be preset (which is created as root 99% of the times)
  • A new FileHandler (you cannot chose which file to use)
  • Not using the default logger inheritance as every logger is on the same level

We should migrate to a logger system where all entrance points configure the root logger and any other possible loggers themselves.

@JeffreyDevloo
Copy link
Contributor Author

Fixed by #2251

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant