logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45128] The conversion pattern M (method name) does not apply when using AsyncAppender
Date Wed, 04 Jun 2008 15:07:41 GMT

Curt Arnold <carnold@apache.org> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Curt Arnold <carnold@apache.org>  2008-06-04 08:07:41 PST ---
That is as designed and documented, if you want to collect location information
with an AsyncAppender, you must specify locationInfo as true, like:

        <appender name="AsyncConsole" class="org.apache.log4j.AsyncAppender">
                 <appender-ref ref="Console"/>
                  <param name="locationInfo" value="true"/>

Collecting location information is expensive and is generally only done on
demand, but has to be done on the same thread as the original call.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message