Thanks Kedar and Anissa for the suggestions.But I am still stuck with
INFO type messages being updated by the logger. :-)
I added the following to logging.properties in config folder
"debug.com.sun.portal.portletcontainer=WARNING".
Do i need to change anything apart from this?
It works fine when I use it on v2 when I do "add property" in log level
page through the admin console of v2.
Am i missing something here?
Thanks,
Sriram
Kedar Mhaswade wrote:
> This element is not used for v3 Prelude. The file to modify is
> logging.properties (which resides along side domain.xml)
> in domain's config folder.
>
> My belief is that you can set the "name" of your logger in this
> file and its intended logging level. There is a provision to change
> this logging level by modifying the file while server is running
> (to see the change in logging level dynamically), but I am not
> sure if it is a supported/tested feature.
>
> This is a deviation from V2, which we plan to remove for v3-after-
> prelude.
>
> -Kedar
>
>
>
> 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
>