quality@glassfish.java.net

Re: log levels in glassfish v3

From: Sriram <S.Krishnan_at_Sun.COM>
Date: Thu, 23 Oct 2008 10:41:25 +0530

Hi,
    Got to know that V3 doesn't support logging for custom application
loggers and supports changing logging for appserver modules alone.Hence
filed a P3.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=6623

Thanks,
Sriram
Anissa Lam wrote:
> 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_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net For
> additional commands, e-mail: quality-help_at_glassfish.dev.java.net