You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/08/08 08:12:44 UTC

DO NOT REPLY [Bug 36041] - [logging] Include class loader information when LogFactoryImpl throws LogConfigurationException.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36041>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36041


b_stansberry@hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Include class loader        |[logging] Include class
                   |information when            |loader information when
                   |LogFactoryImpl throws       |LogFactoryImpl throws
                   |LogConfigurationException.  |LogConfigurationException.




------- Additional Comments From b_stansberry@hotmail.com  2005-08-08 08:12 -------
The current trunk version of commons-logging includes the ability to generate a
great deal of diagnostic information about what it's doing internally.  If
commons-logging is behaving in an unexpected manner, you can now set system
property org.apache.commons.logging.diagnostics.dest to the value STDOUT, STDERR
or a filename and you'll get detailed diagnostics.

Specifically, if an incompatible Log problem occurs, you would get a diagnostic
message like the following:

"Class org.apache.commons.logging.impl.Log4J12Logger was found in classloader  
com.x.y.z.WebAppLoader@123456. It is bound to a Log interface which is not     
                  the one loaded from classloader
com.x.y.z.ContainerClassLoader@654321."

Prior to this message there would be other diagnostic info showing how
commons-logging came to be using WebAppLoader@123456 and
ContainerClassLoader@654321.

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

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