Re: Disabling INFO Logging Messages
"Sean C. Sullivan" <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
OpenAMF uses Jakarta Commons Logging.
Logging behavior is explaining the the Commons Logging Users Guide:
{{
The default |LogFactory| implementation uses the following discovery
process to determine what type of |Log| implementation it should use
(the process terminates when the first positive match - in order - is
found):
1. Look for a configuration attribute of this factory named
|org.apache.commons.logging.Log| (for backwards compatibility to
pre-1.0 versions of this API, an attribute
|org.apache.commons.logging.log| is also consulted).
2. Look for a system property named |org.apache.commons.logging.Log|
(for backwards compatibility to pre-1.0 versions of this API, a
system property |org.apache.commons.logging.log| is also consulted).
3. If the Log4J logging system is available in the application class
path, use the corresponding wrapper class ( Log4JLogger
<http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/impl/Log4JLogger.html>
).
4. If the application is executing on a JDK 1.4 system, use the
corresponding wrapper class ( Jdk14Logger
<http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/impl/Jdk14Logger.html>
).
5. Fall back to the default simple logging wrapper ( SimpleLog
<http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/impl/SimpleLog.html>
).
}}
Musomi Motilewa wrote:
> Sean-
>
> Thanks for the information. I will try it right now and see what
> happens. I have a couple questions thought. What is openamf using to
> display the logging information seeing that I don't have log4j in my
> WEB-INF/lib folder? Is there any way to disable it or just have it log
> higher level notices without having to add log4j to the application
> just to change the log level?
>
> - Thanks Mo
>
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click