Hello, <br><br>My problem occurs when I put an own object (like a instance of a bean named &#39;Car&#39; created for me) in a logback log line. A code like this: <br><br>private Logger log = LoggerFactory.getLogger(TestingLogback.class.getSimpleName
());<br><br>Car car = new Car(&quot;Mercedes&quot;);<br>Integer aNumber = new Integer(2);<br><br>log.debug(&quot;A correct log line: {}&quot;, aNumber);<br>log.debug(&quot;A failed log line: {}&quot;, car);<br>log.debug(&quot;This line is unreachable for the logback plugin&quot;);
<br><br>The logback plugin just shows: <br><br>----<br>A correct log line: 2<br>----<br><br>And the plugin doesn&#39;t show the rest lines of the class on the logback plugin. The &quot;Error Log&quot; plugin on Eclipse shows this error: &quot;There was an error trying to deserialize LoggingEvent: 
java.lang.ClassNotFoundException: foo.bar.Car&quot;. But the console appender shows correctly all the log lines (the console is showing the output of the J2EE Server, and in its classpath, logback doesn&#39;t have any problem to reach the Car class)
<br><br>Thanks in advance<br><br><div><span class="gmail_quote">2007/9/26, Maarten Bosteels &lt;<a href="mailto:maarten@apache.org">maarten@apache.org</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I am using the LogBack Eclipse plugin.<br><br>Eclipse version:<br>Version: 3.3.0<br>Build id: I20070621-1340<br><br>I folowed the instructions from <a href="http://logback.qos.ch/consolePlugin.html">http://logback.qos.ch/consolePlugin.html
</a><br>and I just tried with the logback.xml configuration file from the<br>instructions, and of course it works as well.<br><br>What exactly isn&#39;t working for you ?<br><br>Maarten<br><br>On 9/26/07, Vicente Ferrer &lt;
<a href="mailto:vteferrer@gmail.com">vteferrer@gmail.com</a>&gt; wrote:<br>&gt; Thanks for your response, Maarten.<br>&gt;<br>&gt; If you don&#39;t put the &lt;consolePlugin /&gt; tag on logback.xml, what do you do to<br>
&gt; show the logback log lines on eclipse plugin? Or... aren&#39;t you ussing that<br>&gt; plugin? Maybe are you using a log4j eclipse plugin, like Ganymede?<br>&gt;<br>&gt; Thanks again<br>&gt;<br>&gt; 2007/9/25, Maarten Bosteels &lt;
<a href="mailto:maarten@apache.org">maarten@apache.org</a>&gt;:<br>&gt; &gt; I forgot to mention that I have not tried the &lt;consolePlugin /&gt; tag.<br>&gt; &gt;<br>&gt; &gt; I used the following logback.xml :<br>&gt; &gt;
<br>&gt; &gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&gt; &gt; &lt;configuration&gt;<br>&gt; &gt; &lt;appender class=&quot; ch.qos.logback.core.ConsoleAppender&quot;<br>&gt; &gt; name=&quot;RootConsoleAppender&quot;&gt;
<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;filter<br>&gt; class=&quot;ch.qos.logback.classic.filter.ThresholdFilter&quot;&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;level&gt;debug&lt;/level&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/filter&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout<br>
&gt; class=&quot;ch.qos.logback.classic.PatternLayout&quot;&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;pattern&gt;%d{yyyy-MM-dd HH:mm:ss},%p,%c,%t %m%n&lt;/pattern&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/layout&gt;<br>&gt; &gt; &lt;/appender&gt;<br>&gt; &gt; &lt;appender class=&quot;
<br>&gt; ch.qos.logback.classic.net.SocketAppender&quot;<br>&gt; &gt; name=&quot;RootSocketAppender&quot;&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;filter<br>&gt; class=&quot;ch.qos.logback.classic.filter.ThresholdFilter&quot;&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;level&gt;debug&lt;/level&gt;
<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/filter&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;remoteHost&gt;<a href="http://mortimer.example.com">mortimer.example.com</a>&lt;/remoteHost&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;port&gt;4321&lt;/port&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;reconnectionDelay&gt;30000&lt;/reconnectionDelay&gt;
<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;includeCallerData&gt;true&lt;/includeCallerData&gt;<br>&gt; &gt; &lt;/appender&gt;<br>&gt; &gt;<br>&gt; &gt; &lt;root&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;level value=&quot;debug&quot;/&gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;appender-ref ref=&quot;RootConsoleAppender&quot;/&gt;
<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;appender-ref ref=&quot;RootSocketAppender&quot;/&gt;<br>&gt; &gt; &lt;/root&gt;<br>&gt; &gt; &lt;/configuration&gt;<br>&gt; &gt;<br>&gt; &gt; Maarten<br>&gt; &gt;<br>&gt; &gt; On 9/25/07, Maarten Bosteels &lt;
<a href="mailto:maarten@apache.org">maarten@apache.org</a>&gt; wrote:<br>&gt; &gt; &gt; I installed it today and it works.<br>&gt; &gt; &gt; Haven&#39;t done extensive testing, but everything I tried (MDC and<br>&gt; &gt; &gt; throwables) seems to work.
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I would have preferred that logging events were shown in a table<br>&gt; &gt; &gt; (column per field)<br>&gt; &gt; &gt; instead of stringified. But I never use eclipse, so I don&#39;t really care
<br>&gt; :-)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Is anyone working on a plugin for Intellij IDEA ?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Maarten<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 9/25/07, Vicente Ferrer &lt;<a href="mailto:vteferrer@gmail.com">
vteferrer@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; &gt; Hi to all,<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I&#39;m having some problems with logback eclipse plugin... ¿somebody has<br>&gt; used<br>&gt; &gt; &gt; &gt; the logback eclipse plugin with success?
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Thanks a lot.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; logback-dev mailing list<br>&gt; &gt; &gt; &gt; 
<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><br>&gt; &gt; &gt; &gt; <a href="http://qos.ch/mailman/listinfo/logback-dev">http://qos.ch/mailman/listinfo/logback-dev</a><br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; logback-dev mailing list<br>&gt; &gt; <a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><br>&gt; &gt; <a href="http://qos.ch/mailman/listinfo/logback-dev">
http://qos.ch/mailman/listinfo/logback-dev</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; logback-dev mailing list<br>&gt; <a href="mailto:logback-dev@qos.ch">
logback-dev@qos.ch</a><br>&gt; <a href="http://qos.ch/mailman/listinfo/logback-dev">http://qos.ch/mailman/listinfo/logback-dev</a><br>&gt;<br>&gt;<br><br>_______________________________________________<br>logback-dev mailing list
<br><a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a><br><a href="http://qos.ch/mailman/listinfo/logback-dev">http://qos.ch/mailman/listinfo/logback-dev</a><br><br></blockquote></div><br>