users@glassfish.java.net

Can't seem to configure GlassFish logging format?

From: <forums_at_java.net>
Date: Tue, 7 Feb 2012 10:31:02 -0600 (CST)

Hi,

I am running GlassFish 3.1.1 on Windows.

In the <DOMAIN>\config\logging properties file, there is this line:

com.sun.enterprise.server.logging.GFFileHandler.logFormatDateFormat=yyyy-MM-dd'T'HH\:mm\:ss.SSSZ

However, in the GF server.log, all the lines look like:   Feb 5, 2012
2:31:05 PM com.sun.enterprise.v3.server.ApplicationLifecycle
setupContainerInfos FINE: Keyed Deployer class
com.sun.enterprise.web.WebDeployer   i.e., the format of the actual output
to the server.log doesn't match the "...logFormatDateFormat" in the
logging.properties file.  
 

We're doing some timing tests with GlassFish, so we would really like to get
the server.log output to include milliseconds in the output.

Can anyone tell me why the server.log format is different than what is
apparently configured in logging.properties?  Also, how can we configure the
logging.properties so that the serve.log lines actually include milliseconds?

 

Thanks,

Jim


--
[Message sent by forum member 'jimcpl']
View Post: http://forums.java.net/node/883336