I have a simple question where I still can not find any answer. I want to log messages into a separate log file. I am using Java logging and not log4j.
I have the following class:
package org.imixs.workflow;
public class MailPlugin {
....
private static Logger logger = Logger.getLogger(MailPlugin.class.getName());
...
logger.info("some info...");
}
I am using GlassFish server. So I need to customize the settings in the logger.properties file from GlassFish.
What entries need to be added to the GlassFish logger.properties file to log all messages from my class 'MailPlugin' into a separate log file?