quality@glassfish.java.net

Re: log levels in glassfish v3

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Wed, 22 Oct 2008 11:04:37 -0700
Hi Sriram,
Not sure if i missed it, but i don't see any reply in this thread.

In v3,  Logging leverage JavaSE logging utility and all related logging configuration is done through  logging.properties file,  found under  domains/domain1/config  directory.   You need to modify this file to change any setting.   Change of  logging level  should be dynamic,  meaning no server restart is required.

For v3 Prelude, there is no support for logging configuration in the admin console,  nor CLI.   You will need to edit this file yourself.

Hope this help.
Anissa.


sriram krishnan wrote:
Hi,

1)Setting module log levels in glassfish v3 doesnn't seem to be working.I am using websynergy on glassfish v3.
In my domain.xml I have

<log-service log-rotation-limit-in-bytes="2000000" file="${com.sun.aas.instanceRoot}/logs/server.log">
       <module-log-levels>
         <property name="debug.com.sun.portal.portletcontainer" value="WARNING" />
       </module-log-levels>
     </log-service>

But I still find the log messages getting updated in the server log even after I set it to Warning.I have attached the domain.xml

2)Also please tell me how go I navigate through admin console to set the log levels.Right not its been directly added to the domain.xml file


Thanks,
Sriram

--------------------------------------------------------------------- To unsubscribe, e-mail: quality-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: quality-help@glassfish.dev.java.net