[logback-user] Can you put the logback.xml file at the ear level?

JW logback at jwhitesolutions.com
Thu Nov 4 13:42:34 CET 2010


Ceki,

I'll give this a try.  That would mean that these files could not exist in
the root of the ear then, correct?

-Josh

On Thu, Nov 4, 2010 at 3:22 AM, Ceki Gulcu <ceki at qos.ch> wrote:

> On 02.11.2010 18:13, JW wrote:
>
>> Hello,
>>
>> I currently have my logback jar files packaged at the ear level and
>> referenced by my manifest file.  I am looking to put the logback.xml
>> file at this level as well, but I am unable to get it to work.  Reading
>> through the archives, I thought I remember reading that this won't work
>> and that you have to put the logback.xml file within a jar file for it
>> to work.  Is this true?  Is there a way to package the logback.xml file
>> at the ear level without putting it in its own jar file?
>>
>
> Yes. You need to mention the *folder* where logback.xml is located in the
> ear file's manifest. Do not mention logback.xml in that file.
>
> HTH,
>
>  Joshua
>>
>
> --
> Ceki
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20101104/f10f4a68/attachment-0001.html>


More information about the Logback-user mailing list