I have a problem with java.util.logging. I'm telling you.
I have my program in a jar file and when I run it, logging works as I hope. In this case I load the logging configuration in the main method.
But, if I run from a different jar logging doesn't work with the configuration, but with the logging default configuration. I didn't set a logging configuration previously. Logging applies the java.util.logging.FileHandler.pattern, but it doesn't apply the java.util.logging.FileHandler.formatter class. In this new jar, I load other jars adding them with ClassLoader.
The configuration file is:
handlers = java.util.logging.FileHandler
.level = FINER
java.util.logging.FileHandler.level = FINER
java.util.logging.FileHandler.formatter = gx.util.logging.FormatoDesarrollo2
java.util.logging.FileHandler.pattern = log-client-%g.txt
java.util.logging.ConsoleHandler.level = FINER
java.util.logging.ConsoleHandler.formatter = gx.util.logging.FormatoDesarrollo2
gx.games.level=WARNING
Then, where is the problem?
Thank you, very much.