On 20 Jan 2011, at 15:40, Tullio Bettinazzi wrote:

> 
> 
> I tried to craete a log4j.xml file in the webapps/config/myapp directory but
> it seems to consider only the one present in webapps/config/default.

If you don't see the log4j.config property to point to this new file, that's 
indeed what's going to happen.
I'm assuming you have a magnolia.properties in WEB-INF/config/myapp, so you 
should edit that file and add:
log4j.config=WEB-INF/config/myapp/log4j.xml

There are more complex possibilities, such as overriding the main log4j.config 
property and use "nested" properties in its values. 

HTH,

-g

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to