[logback-user] alternate configuration files on the classpath
Steve Cohen
scohen at javactivity.org
Wed Oct 31 19:32:15 CET 2012
Duh, never mind. There was an error in the configuration file. That,
and not classpath issues, was the reason for the problem. Sorry for
bothering the list over this triviality.
On 10/31/2012 01:04 PM, Steve Cohen wrote:
> Thanks.
>
> This (the classpath without preceding slash - in my case, the name of
> the config file in the jar since it lived at the root of the jar) was
> what I assumed and it was not working. Will have to look deeper.
> On 10/29/2012 06:20 PM, Abraham Lin wrote:
>> Classpath paths look like "com/example/resource.xml" (no leading slash).
>> This works for logback as well (tried it on my machine).
>> Alternatively, you
>> could use a JAR URL like
>> "jar:file:/path/to/file.jar!/com/example/resource.xml".
>>
>> -Abraham
>>
>>
>>
>> _______________________________________________
>> Logback-user mailing list
>> Logback-user at qos.ch
>> http://mailman.qos.ch/mailman/listinfo/logback-user
>>
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
>
>
More information about the Logback-user
mailing list