[logback-user] Can you put the logback.xml file at the ear level?
Ceki Gulcu
ceki at qos.ch
Thu Nov 4 13:56:38 CET 2010
I think that logback.xml could be located at the root of the ear by
specifying the './' folder in the manifest to designate the root folder.
On 04.11.2010 13:42, JW wrote:
> 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
> <mailto: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 <mailto:Logback-user at qos.ch>
> http://qos.ch/mailman/listinfo/logback-user
>
>
>
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
More information about the Logback-user
mailing list