Java logging - log file location for FileHandler
All logging configurations for my logger are taken from a logging.properties file, but I'd like to set the FileHandler's log file directory after loading the properties file. This is because the directory name is loaded from another properties file (called config.properties).
I understand that the directory is part of the file name specified by "java.util.logging.FileHandler.pattern" property in the properties file, but I'd like to change that, without changing the logging.properties file for every run.
How can the LogManager's properties be changed, once loaded using readConfiguration(InputStream) function?
There is no logMan.setProperty() method or anything similar...