[logback-dev] Eclipse plugin

Maarten Bosteels maarten at apache.org
Tue Sep 25 20:23:18 CEST 2007


I forgot to mention that I have not tried the <consolePlugin /> tag.

I used the following logback.xml :

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
 <appender class="ch.qos.logback.core.ConsoleAppender"
name="RootConsoleAppender">
   <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
     <level>debug</level>
   </filter>
	<layout class="ch.qos.logback.classic.PatternLayout">
     <pattern>%d{yyyy-MM-dd HH:mm:ss},%p,%c,%t %m%n</pattern>
   </layout>
 </appender>
 <appender class="ch.qos.logback.classic.net.SocketAppender"
name="RootSocketAppender">
   <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
     <level>debug</level>
   </filter>
   <remoteHost>mortimer.example.com</remoteHost>
   <port>4321</port>
   <reconnectionDelay>30000</reconnectionDelay>
   <includeCallerData>true</includeCallerData>
 </appender>

 <root>
   <level value="debug"/>
   <appender-ref ref="RootConsoleAppender"/>
   <appender-ref ref="RootSocketAppender"/>
 </root>
</configuration>

Maarten

On 9/25/07, Maarten Bosteels <maarten at apache.org> wrote:
> I installed it today and it works.
> Haven't done extensive testing, but everything I tried (MDC and
> throwables) seems to work.
>
> I would have preferred that logging events were shown in a table
> (column per field)
> instead of stringified. But I never use eclipse, so I don't really care :-)
>
> Is anyone working on a plugin for Intellij IDEA ?
>
> Maarten
>
> On 9/25/07, Vicente Ferrer <vteferrer at gmail.com> wrote:
> > Hi to all,
> >
> > I'm having some problems with logback eclipse plugin... ¿somebody has used
> > the logback eclipse plugin with success?
> >
> > Thanks a lot.
> >
> > _______________________________________________
> > logback-dev mailing list
> > logback-dev at qos.ch
> > http://qos.ch/mailman/listinfo/logback-dev
> >
> >
>


More information about the logback-dev mailing list