users@glassfish.java.net

Re: getting more server.log information

From: Mark Hansen <mark_at_javector.com>
Date: Tue, 14 Mar 2006 16:01:38 -0500

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