Announcement Announcement Module
No announcement yet.
log4j message to Console Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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"/>

    <priority value ="debug" />
    <appender-ref ref="ConsoleAppender"/>


    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