[xwiki-dev] Why is log4j.properties included in xwiki.jar ?
Xavier MOGHRABI
xavier.moghrabi at inrialpes.fr
Tue Mar 6 10:35:03 CET 2007
Hi Vincent,
Le lundi 5 mars 2007, Vincent Massol a écrit :
> I agree we shouldn't have it in the JAR. It should be in the WAR.
>
> That said you don't have to edit it. See http://www.xwiki.org/xwiki/
> bin/view/Community/Debugging#HLogging
I wasn't aware of a such feature. I've tested and it works well.
> > I think it should be better if that file would be directly in WEB-
> > INF/ at the
> > same level of xwiki.log.
>
> I'd rather put it in WEB-INF/classes as it'll be in the classpath and
> can be found by log4j automatically. Actually I'd personally prefer
> to have all configuration files located there instead of WEB-INF as
> this will make them available using CP mechanism but that's a
> personal preference. For log4j.properties it makes sense to have it
> WEB-INF/classes though even if we don't move the other config files.
>
> Please file a JIRA issues and possibly attach a patch :)
Is it really usefull since it works fine ?
--
Xavier MOGHRABI - OW2 Consortium
Jabber: moghrabi at objectweb.org
Tel: +33 4 76 61 52 35
More information about the devs
mailing list