users@glassfish.java.net

Re: Can't seem to configure GlassFish logging format?

From: <forums_at_java.net>
Date: Tue, 7 Feb 2012 13:23:07 -0600 (CST)

Hi,

I'm wondering if maybe my logging.properties is somehow totally messed up, to
the point that it' ignoring that format line, so I'm posting the entire
logging.properties here:

<code>

#Thu Jan 19 11:44:17 EST 2012

 

# 02-05-2012 - try to isolate auditing of permit/deny

com.sun.enterprise.security.auth.level=INFO

 

javax.enterprise.system.tools.admin.level=INFO

handlers=java.util.logging.ConsoleHandler

java.util.logging.ConsoleHandler.formatter=com.sun.enterprise.server.logging.UniformLogFormatter

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

javax.enterprise.system.ssl.security.level=INFO

org.apache.jasper.level=INFO

com.sun.enterprise.server.logging.GFFileHandler.flushFrequency=1

org.eclipse.persistence.session.level=INFO

javax.enterprise.system.tools.backup.level=INFO

javax.enterprise.resource.corba.level=INFO

javax.enterprise.resource.webcontainer.jsf.resource.level=INFO

javax.enterprise.system.core.classloading.level=INFO

javax.enterprise.resource.jta.level=INFO

java.util.logging.ConsoleHandler.level=FINER

com.sun.enterprise.server.logging.GFFileHandler.file=${com.sun.aas.instanceRoot}/logs/server.log

 

javax.enterprise.system.webservices.saaj.level=INFO

java.util.logging.FileHandler.formatter=java.util.logging.XMLFormatter

javax.enterprise.system.tools.deployment.level=INFO

javax.enterprise.system.container.ejb.level=INFO

javax.enterprise.system.core.transaction.level=INFO

org.apache.catalina.level=INFO

javax.enterprise.resource.webcontainer.jsf.lifecycle.level=INFO

com.sun.enterprise.server.logging.GFFileHandler.rotationTimelimitInMinutes=0

javax.enterprise.resource.webcontainer.jsf.config.level=INFO

javax.enterprise.system.container.ejb.mdb.level=INFO

javax.enterprise.resource.webcontainer.jsf.timing.level=INFO

 

# 02-05-2012 - try to isolate auditing of permit/deny

javax.enterprise.system.core.level=FINE

 

com.sun.enterprise.server.logging.GFFileHandler.rotationOnDateChange=false

 

org.apache.coyote.level=INFO

ShoalLogger.level=INFO

javax.level=INFO

javax.enterprise.resource.webcontainer.jsf.taglib.level=INFO

java.util.logging.FileHandler.limit=50000

javax.enterprise.system.webservices.rpc.level=INFO

javax.enterprise.resource.javamail.level=INFO

com.sun.enterprise.server.logging.GFFileHandler.logtoConsole=false

javax.enterprise.system.container.web.level=INFO

javax.enterprise.resource.webcontainer.jsf.facelets.level=INFO

javax.enterprise.resource.resourceadapter.level=INFO

javax.enterprise.system.util.level=INFO

com.sun.enterprise.server.logging.GFFileHandler.level=ALL

javax.org.glassfish.persistence.level=INFO

javax.enterprise.resource.webcontainer.jsf.context.level=INFO

javax.enterprise.resource.webcontainer.jsf.application.level=INFO

javax.enterprise.resource.jms.level=INFO

javax.enterprise.system.core.config.level=INFO

com.sun.enterprise.server.logging.GFFileHandler.rotationLimitInBytes=2000000

org.jvnet.hk2.osgiadapter.level=INFO

javax.enterprise.system.level=INFO

 

# 02-05-2012 - try to isolate auditing of permit/deny

javax.enterprise.system.core.security.level=INFO

 

javax.enterprise.system.container.cmp.level=INFO

java.util.logging.FileHandler.pattern=%h/java%u.log

com.sun.enterprise.server.logging.SyslogHandler.useSystemLogging=false

javax.enterprise.resource.sqltrace.level=INFO

javax.enterprise.resource.webcontainer.jsf.renderkit.level=INFO

javax.enterprise.system.webservices.registry.level=INFO

javax.enterprise.system.core.selfmanagement.level=INFO

 

# 02-05-2012 - try to isolate auditing of permit/deny

com.sun.enterprise.security.Audit.level=INFO

com.sun.enterprise.security.level=INFO

 

com.sun.enterprise.server.logging.GFFileHandler.formatter=com.sun.enterprise.server.logging.UniformLogFormatter.level=FINE

com.sun.enterprise.server.logging.GFFileHandler.maxHistoryFiles=0

log4j.logger.org.hibernate.validator.util.Version=warn

java.util.logging.FileHandler.count=1

 

# 02-05-2012 - try to isolate auditing of permit/deny

com.sun.enterprise.security.auth.realm.level=INFO

 

javax.enterprise.resource.webcontainer.jsf.managedbean.level=INFO

org.glassfish.admingui.level=INFO

javax.enterprise.system.core.naming.level=INFO

javax.enterprise.resource.jdo.level=INFO

com.sun.enterprise.server.logging.GFFileHandler.retainErrorsStasticsForHours=0

security.level=FINE

LDAPRealm.level=FINE

</code>

 

given the above, how can I set or change the server.log format to include the
msecs in the date/timestamps?

 

Thanks,

Jim


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