2016-06-06 10:35 GMT+02:00 Dignesh <dgo...@opentext.com>:

> Thank you very much..It is working now.
>
> Is there any way we can eliminate adding the log4j.jar and log4j.xml in
> tomee lib directory and generate logging.Because the way now it is working
> is, we need them to be added in tomee lib directory.
> Is there any other way we can do by modifying the logging.properties file
> present in conf folder.
>
>
Should be the default (ie external property set to false)


> The reason why I need this is we dont want any log4j.jar,log4j.xml files
> that needs to be added in TomEE lib directory.
>
>
Strictly speaking it needs to be in the classloader of the logger. If you
want tomee to use log4j you need to put it in tomee classloader ie
common.loader of tomcat (you can create other folders if you prefer). If
that's just for the app but not tomee then putting them all in the webapp
works.


> Please advise further.
>
>
> Thanks
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Need-help-on-setting-up-log4j-xml-tp4678735p4678768.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.
>

Reply via email to