framework icon indicating copy to clipboard operation
framework copied to clipboard

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

Open JeffreyDevloo opened this issue 6 years ago • 1 comments

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 avatar Jan 15 '19 09:01 JeffreyDevloo