-
Sep 22nd, 2009, 04:01 AM
#1
log4j message to Console
Hi everyone,
I don't able to redirect my log4j logging message to my Eclipse Console.
This is my simple log4j configuration file (log4j.xml):
<?xml version="1.0" encoding="UTF-8" ?>
<log4j:configuration >
<appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.SimpleLayout"/>
</appender>
<root>
<priority value ="debug" />
<appender-ref ref="ConsoleAppender"/>
</root>
</log4j:configuration>
Spring DM Server seems to not read this config file because if I put <priority value ="off" /> in the root node I continue to see my logger message in the trace.log file under Serviceability section.
Which is the position of this config file in my bundle project?
I'm using Spring DM Server 1.0.2.
Thank you so much.
Bye Bye
Federico
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules