how can I configure the behaviour of the root logger in the logging api? I don’t want to configure the behaviour of each logger separately, instead it would be very convenient if I have a single property file where I can set the behaviour of all loggers.
Share
I would suggest to use Apache Commons Logging or log4j directly. It’s much more comfortable and flexible.
EDIT:
If you want to configure your logging from a properties file, you should go with Vinay Sajip’s answer. To get the root Logger inside your program and configure it using the API, you could ask for the Logger named “”, like it says here