According to Ant docs and my experience, the Ant colorized stuff does
not work on Windows XP. If get it to work, could you post your solution
here or on Ant's list? Thanks. Gary

> -----Original Message-----
> From: Ingo Thon [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 06, 2004 01:45
> To: [EMAIL PROTECTED]
> Subject: Colorized output with ConsoleAppender
> 
> Hi,
> 
> I'm looking for a possibility to use colorised output with the
> Consoleappender such that
> 
> 2004-09-06 10:16:58,567 [xxx (yyy: lll)] INFO - msg
> will appear in yellow
> 2004-09-06 10:16:58,568 [xxx (yyy: lll)] ERROR - msg
> will appear in red
> 
> comparable to
> http://ant.apache.org/manual/listeners.html#AnsiColorLogger
> 
> If I'm right I only have to change the appender configuration
> currently I'm using
>        <appender name="appender"
> class="org.apache.log4j.ConsoleAppender">
>          <layout class="org.apache.log4j.PatternLayout">
>            <param name="ConversionPattern" value="%d [%l] %p - %m%n"/>
>          </layout>
>        </appender>
> but I don't have any idea how.
> 
> Thanks in advance
> 
> Ingo
> 
> PS: on the wiki page
> http://wiki.apache.org/logging-log4j/Log4JProjectPages is the old
> mailinglist address
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to