users@glassfish.java.net

Re: getting more server.log information

From: Kedar Mhaswade <kedar.mhaswade_at_Sun.COM>
Date: Tue, 14 Mar 2006 15:51:18 -0800

A better way of changing the log levels *without* having to restart the
server is to use the admin GUI at http://localhost:admin-port. I think
you should avail this dynamic configuration facility.

Mark Hansen wrote:

> Thanks. That give class and method names.
>
> Qingqing Ouyang wrote:
>
>> Try to set the log level to FINE in $install_root/domains/<your
>> domain>/config/domain.xml...
>>
>>
>>
>> Mark Hansen wrote:
>>
>>> Thanks. That is helpful. But is there a way to configure the
>>> loggers so that they supply class name / line number?
>>>
>>> Qingqing Ouyang wrote:
>>>
>>>> I normally grep on the message ID "DPL8007" to see the message key
>>>> that is used in the java code. Then grep on the message key....
>>>>
>>>> For example:
>>>>
>>>> [qouyang_at_sabu appserv-commons]$ find . -name \*.properties | xargs
>>>> grep DPL8007 | grep Invalid
>>>> ./src/java/com/sun/logging/enterprise/system/tools/deployment/LogStrings.properties:enterprise.deployment.backend.invalidDescriptorMappingFailure="DPL8007:
>>>> Invalid Deployment Descriptors element {0} value {1}"
>>>>
>>>> [qouyang_at_sabu appserv-commons]$ find . -name \*.java | xargs grep
>>>> enterprise.deployment.backend.invalidDescriptorMappingFailure
>>>>
>>>> .. there are a few places that uses this message key ...
>>>>
>>>> mark_at_javector.com wrote:
>>>>
>>>>> I'm seeing this message in my server.log:
>>>>>
>>>>>
>>>>> [#|2006-03-14T15:23:40.398-0500|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=95;_ThreadName=Thread-132;endpoint-address-uri;/deployssb/Hello;_RequestID=7f29fbaa-8b29-44b2-bffc-e055fad9379f;|"DPL8007:
>>>>>
>>>>> Invalid Deployment Descriptors element endpoint-address-uri value
>>>>> /deployssb/Hello"|#]
>>>>>
>>>>> How can I find out the class / line number where this SEVERE issue
>>>>> was logged?
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>