<html><head></head><body bgcolor="#FFFFFF"><div>Automatic imports are marked as "Since 1.0.10" and you are using 0.9.24.<br><br>On Jul 1, 2013, at 7:02 AM, "Ewgenij Sokolovski" <<a href="mailto:ewgenijkkg@gmx.de">ewgenijkkg@gmx.de</a>> wrote:<br><br></div><div></div><div><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hello. Actually, there is not lot of information at all. I 'm running a Knopflerfish OSGI framework version 1.5</div>
<div>I installed the correspondent logback .jars</div>
<div> </div>
<div>com.springsource.ch.qos.logback.classic-0.9.24.jar</div>
<div>com.springsource.ch.qos.logback.core-0.9.24.jar and</div>
<div>com.springsource.slf4j.api-1.6.1.jar</div>
<div> </div>
<div>and lead my logging output to logback. Beside of this, I started groovy runtime bundle in OSGI groovy-all-2.1.5.jar</div>
<div> </div>
<div> </div>
<div>Now, I found out what the reason was. I had to include the imports</div>
<div> </div>
<div>
<div>import ch.qos.logback.core.*;<br>
import ch.qos.logback.core.encoder.*;<br>
import ch.qos.logback.core.read.*;<br>
import ch.qos.logback.core.rolling.*;<br>
import ch.qos.logback.core.status.*;<br>
import ch.qos.logback.classic.net.*;<br>
import ch.qos.logback.classic.encoder.PatternLayoutEncoder;</div>
<div> </div>
<div>import ch.qos.logback.classic.Level</div>
<div> </div>
<div> </div>
<div>to my code. After that everything worked. It's strange because in the manual I read that these imports are made automatically <a href="http://logback.qos.ch/manual/groovy.html">http://logback.qos.ch/manual/groovy.html</a> Section "Automatic imports"</div>
<div> </div>
<div> </div>
<div>I think the OSGI integration does not work properly, does it?</div>
</div>
<div> </div>
<div>
<div name="quote" style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left-color: rgb(195, 217, 229); border-left-width: 2px; border-left-style: solid; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin: 0px 0px 10px;"><b>Gesendet:</b> Montag, 01. Juli 2013 um 12:12 Uhr<br>
<b>Von:</b> "David Roussel" <<a href="mailto:nabble@diroussel.xsmail.com">nabble@diroussel.xsmail.com</a>><br>
<b>An:</b> "logback users list" <<a href="mailto:logback-user@qos.ch">logback-user@qos.ch</a>><br>
<b>Betreff:</b> Re: [logback-user] Debug the groovy configuration file</div>
<div name="quoted-content">
<div>
<div>
<div><span>Ewgenij,</span></div>
<div> </div>
<div><span>I don't know about OSGI. But I do know that there is not enough information here for others to help you. </span></div>
<div> </div>
<div><span>If you include some more information about how you have setup logback and what environment you are running it in, others might be able to help. <br>
<br>
David</span></div>
</div>
<div><br>
On 1 Jul 2013, at 08:54, "Ewgenij Sokolovski" <<a href="ewgenijkkg@gmx.de" target="_parent">ewgenijkkg@gmx.de</a>> wrote:<br>
</div>
<blockquote>
<div>
<div style="font-family: Verdana; font-size: 12px;">
<div>
<div>Hello, I found the error output at the starting console eventually, not on the console of the OSGI framework itself. I posted it here <a href="http://mailman.qos.ch/pipermail/logback-user/2013-June/004068.html" target="_blank">http://mailman.qos.ch/pipermail/logback-user/2013-June/004068.html</a></div>
<div> </div>
<div>Do you know what the reason could be?</div>
<div> </div>
<div> </div>
<div>BR</div>
<div>Ewgenij</div>
<div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left-color: rgb(195, 217, 229); border-left-width: 2px; border-left-style: solid;">
<div style="margin: 0px 0px 10px;"><b>Gesendet:</b> Freitag, 28. Juni 2013 um 17:56 Uhr<br>
<b>Von:</b> "David Roussel" <<a href="nabble@diroussel.xsmail.com" target="_parent">nabble@diroussel.xsmail.com</a>><br>
<b>An:</b> "logback users list" <<a href="logback-user@qos.ch" target="_parent">logback-user@qos.ch</a>><br>
<b>Betreff:</b> Re: [logback-user] Debug the groovy configuration file</div>
<div>
<div>
<div>Do you want some help? Can you include some technical information? Version numbers, config files, expected vs actual results?<br>
<br>
David</div>
<div><br>
On 28 Jun 2013, at 14:14, "Ewgenij Sokolovski" <<a>ewgenijkkg@gmx.de</a>> wrote:<br>
</div>
<blockquote>
<div>
<div style="font-family: Verdana; font-size: 12px;">
<div>Hello, I created a groovy configuration file but the logging does not create an output with it. So, I think I made some error there. But how can I debug the file? I do not see any error output anywhere?</div>
<div> </div>
<div>BR</div>
<div>Ewgenij Sokolovski</div>
</div>
</div>
</blockquote>
<blockquote>
<div><span>_______________________________________________</span><br>
<span>Logback-user mailing list</span><br>
<span><a>Logback-user@qos.ch</a></span><br>
<span><a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a></span></div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<blockquote>
<div><span>_______________________________________________</span><br>
<span>Logback-user mailing list</span><br>
<span><a href="Logback-user@qos.ch" target="_parent">Logback-user@qos.ch</a></span><br>
<span><a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a></span></div>
</blockquote>
</div>
</div>
</div>
</div>
</div></div>
</div><div><span>_______________________________________________</span><br><span>Logback-user mailing list</span><br><span><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a></span><br><span><a href="http://mailman.qos.ch/mailman/listinfo/logback-user">http://mailman.qos.ch/mailman/listinfo/logback-user</a></span></div></body></html>