The "log.root" property needs to be set before the first logger instance is created.
Since this code was in the Kernel and the Kernel has a static logger that is instantiated before anything else is done, thie property was empty and the logging failed.
Now it is set before any logger is created and thus creates nice logs with working rotation.
The "log.root" property needs to be set before the first logger instance is created. Since this code was in the Kernel and the Kernel has a static logger that is instantiated before anything else is done, thie property was empty and the logging failed.
Now it is set before any logger is created and thus creates nice logs with working rotation.