I am using java.util.logging.Logger for logging. Currently I am creating one log file for each class.
Can someone please suggest how to create a log file for a package instead of each class. And how to set the levels for each of these. I am also not able to find how to change the levels for all the loggers at once.
So, essentially I am asking three questions here. Sorry about that. 1. Creating log file one for each package. 2. Setting common log level for the logs. 3. Setting log levels for each logger.
Vogella explains it well, but few things are confusing like what does he mean when he says
(Logger.GLOBAL_LOGGER_NAME)
Just found partial answer here