[logback-user] Pointing logback at a symbolic soft link

Antony Stubbs antony.stubbs at gmail.com
Tue Jan 8 00:08:24 CET 2013


Hmm, maybe it was a bad link before, seems to be working now.


Ceki Gulcu wrote:
> 
> On 07.01.2013 23:00, Antony Stubbs wrote:
>>
>> Thanks, that doesn't appear to do anything. Nothing is printed to std
>> out.
>> Even without trying to point logback at any config files.
> 
> I've successfully tested the following command:
> 
> java \
> -Dlogback.statusListenerClass=ch.qos.logback.core.status.OnConsoleStatusListener\
> chapters.introduction.HelloWorld1
> 
> Here is the output:
> 
> 23:36:42,042 |-INFO in ch.qos.logback.classic.LoggerContext[default] - 
> Could NOT find resource [logback.groovy]
> 23:36:42,054 |-INFO in ch.qos.logback.classic.LoggerContext[default] - 
> Could NOT find resource [logback-test.xml]
> 23:36:42,054 |-INFO in ch.qos.logback.classic.LoggerContext[default] - 
> Could NOT find resource [logback.xml]
> 23:36:42,055 |-INFO in ch.qos.logback.classic.LoggerContext[default] - 
> Setting up default configuration.
> 23:36:42.091 [main] DEBUG chapters.introduction.HelloWorld1 - Hello world.
> 
> The HelloWorld1 application [1] simply invokes the SLF4J API.
> 
> Which version of logback are you using? Is logback being picked up by
> SLF4J?
> 
> [1] http://logback.qos.ch/xref/chapters/introduction/HelloWorld1.html
> -- 
> Ceki
> 65% of statistics are made up on the spot
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
> 
> 

-----
___________________________

http://stubbisms.wordpress.com http://stubbisms.wordpress.com 
-- 
View this message in context: http://old.nabble.com/Pointing-logback-at-a-symbolic-soft-link-tp34863570p34871002.html
Sent from the Logback User mailing list archive at Nabble.com.



More information about the Logback-user mailing list