dev@glassfish.java.net

Re: asadmin get/set & log levels?

From: Naman Mehta <Naman.Mehta_at_Sun.COM>
Date: Fri, 06 Aug 2010 10:58:30 +0530

hi marina,

How are you setting FINE level for instance?

If the instance is part of cluster you need to give --target as cluster
name else use standalone instance name.

It will update logging.properties file under this directory.
(glassfish/domains/domain1/config/<cluster's-config> or <instance's
config>). Based on the value for logger inside this file it would log
the messages in server.log file.

Regards,
Naman

On Friday 06 August 2010 06:30 AM, Marina Vatkina wrote:
> Hmmm... I do see them after reinstalling the build.
>
> But I'm sure that there are no FINE messages in my instance's
> server.log :(.
>
> thanks,
> -marina
>
> Vijay Ramachandran wrote:
>> Mine is a workspace that was freshly checked out this morning at
>> around 10AM, PT and it seems to be working :
>>
>> $ asadmin get "*" | grep INFO
>> configs.config.c1-config.diagnostic-service.min-log-level=INFO
>> configs.config.c1-config.log-service.module-log-levels.admin=INFO
>> configs.config.c1-config.log-service.module-log-levels.classloader=INFO
>> configs.config.c1-config.log-service.module-log-levels.cmp=INFO
>> configs.config.c1-config.log-service.module-log-levels.cmp-container=INFO
>>
>> configs.config.c1-config.log-service.module-log-levels.configuration=INFO
>>
>> configs.config.c1-config.log-service.module-log-levels.connector=INFO
>> configs.config.c1-config.log-service.module-log-levels.corba=INFO
>> configs.config.c1-config.log-service.module-log-levels.deployment=INFO
>> configs.config.c1-config.log-service.module-log-levels.ejb-container=INFO
>>
>> configs.config.c1-config.log-service.module-log-levels.group-management-service=INFO
>>
>> configs.config.c1-config.log-service.module-log-levels.javamail=INFO
>> configs.config.c1-config.log-service.module-log-levels.jaxr=INFO
>> configs.config.c1-config.log-service.module-log-levels.jaxrpc=INFO
>> configs.config.c1-config.log-service.module-log-levels.jdo=INFO
>> configs.config.c1-config.log-service.module-log-levels.jms=INFO
>> configs.config.c1-config.log-service.module-log-levels.jta=INFO
>> configs.config.c1-config.log-service.module-log-levels.jts=INFO
>> configs.config.c1-config.log-service.module-log-levels.management-event=INFO
>>
>> configs.config.c1-config.log-service.module-log-levels.mdb-container=INFO
>>
>> configs.config.c1-config.log-service.module-log-levels.naming=INFO
>> configs.config.c1-config.log-service.module-log-levels.node-agent=INFO
>> configs.config.c1-config.log-service.module-log-levels.resource-adapter=INFO
>>
>> configs.config.c1-config.log-service.module-log-levels.root=INFO
>> configs.config.c1-config.log-service.module-log-levels.saaj=INFO
>> configs.config.c1-config.log-service.module-log-levels.security=INFO
>> configs.config.c1-config.log-service.module-log-levels.self-management=INFO
>>
>> configs.config.c1-config.log-service.module-log-levels.server=INFO
>> configs.config.c1-config.log-service.module-log-levels.synchronization=INFO
>>
>> configs.config.c1-config.log-service.module-log-levels.util=INFO
>> configs.config.c1-config.log-service.module-log-levels.verifier=INFO
>> configs.config.c1-config.log-service.module-log-levels.web-container=INFO
>>
>> configs.config.default-config.diagnostic-service.min-log-level=INFO
>> configs.config.default-config.log-service.module-log-levels.admin=INFO
>> configs.config.default-config.log-service.module-log-levels.classloader=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.cmp=INFO
>> configs.config.default-config.log-service.module-log-levels.cmp-container=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.configuration=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.connector=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.corba=INFO
>> configs.config.default-config.log-service.module-log-levels.deployment=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.ejb-container=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.group-management-service=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.javamail=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.jaxr=INFO
>> configs.config.default-config.log-service.module-log-levels.jaxrpc=INFO
>> configs.config.default-config.log-service.module-log-levels.jdo=INFO
>> configs.config.default-config.log-service.module-log-levels.jms=INFO
>> configs.config.default-config.log-service.module-log-levels.jta=INFO
>> configs.config.default-config.log-service.module-log-levels.jts=INFO
>> configs.config.default-config.log-service.module-log-levels.management-event=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.mdb-container=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.naming=INFO
>> configs.config.default-config.log-service.module-log-levels.node-agent=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.resource-adapter=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.root=INFO
>> configs.config.default-config.log-service.module-log-levels.saaj=INFO
>> configs.config.default-config.log-service.module-log-levels.security=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.self-management=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.server=INFO
>> configs.config.default-config.log-service.module-log-levels.synchronization=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.util=INFO
>> configs.config.default-config.log-service.module-log-levels.verifier=INFO
>>
>> configs.config.default-config.log-service.module-log-levels.web-container=INFO
>>
>> configs.config.in3-config.diagnostic-service.min-log-level=INFO
>> configs.config.in3-config.log-service.module-log-levels.admin=INFO
>> configs.config.in3-config.log-service.module-log-levels.classloader=INFO
>> configs.config.in3-config.log-service.module-log-levels.cmp=INFO
>> configs.config.in3-config.log-service.module-log-levels.cmp-container=INFO
>>
>> configs.config.in3-config.log-service.module-log-levels.configuration=INFO
>>
>> configs.config.in3-config.log-service.module-log-levels.connector=INFO
>> configs.config.in3-config.log-service.module-log-levels.corba=INFO
>> configs.config.in3-config.log-service.module-log-levels.deployment=INFO
>> configs.config.in3-config.log-service.module-log-levels.ejb-container=INFO
>>
>> configs.config.in3-config.log-service.module-log-levels.group-management-service=INFO
>>
>> configs.config.in3-config.log-service.module-log-levels.javamail=INFO
>> configs.config.in3-config.log-service.module-log-levels.jaxr=INFO
>> configs.config.in3-config.log-service.module-log-levels.jaxrpc=INFO
>> configs.config.in3-config.log-service.module-log-levels.jdo=INFO
>> configs.config.in3-config.log-service.module-log-levels.jms=INFO
>> configs.config.in3-config.log-service.module-log-levels.jta=INFO
>> configs.config.in3-config.log-service.module-log-levels.jts=INFO
>> configs.config.in3-config.log-service.module-log-levels.management-event=INFO
>>
>> configs.config.in3-config.log-service.module-log-levels.mdb-container=INFO
>>
>> configs.config.in3-config.log-service.module-log-levels.naming=INFO
>> configs.config.in3-config.log-service.module-log-levels.node-agent=INFO
>> configs.config.in3-config.log-service.module-log-levels.resource-adapter=INFO
>>
>> configs.config.in3-config.log-service.module-log-levels.root=INFO
>> configs.config.in3-config.log-service.module-log-levels.saaj=INFO
>> configs.config.in3-config.log-service.module-log-levels.security=INFO
>> configs.config.in3-config.log-service.module-log-levels.self-management=INFO
>>
>> configs.config.in3-config.log-service.module-log-levels.server=INFO
>> configs.config.in3-config.log-service.module-log-levels.synchronization=INFO
>>
>> configs.config.in3-config.log-service.module-log-levels.util=INFO
>> configs.config.in3-config.log-service.module-log-levels.verifier=INFO
>> configs.config.in3-config.log-service.module-log-levels.web-container=INFO
>>
>>
>> On 8/5/10 5:17 PM, Marina Vatkina wrote:
>>
>>> Logging level were available/modifiable yesterday with CLI like:
>>>
>>> asadmin set
>>> configs.config.c1-config.log-service.module-log-levels.jta=FINE
>>>
>>> But today 'asadmin get "*" | grep INFO' brings nothing.
>>>
>>> Was I doing something that is not supported or is it a bug?
>>>
>>> thanks,
>>> -marina
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>