framework
framework copied to clipboard
[Logger] Do not enforce the file and enable/disable logging on the fly
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.