You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christofer Jennings <bo...@gmail.com> on 2006/08/09 18:59:54 UTC

setting log4j log level for tests

newbee Q: I'm using maven2 and am having trouble figuring out how
log4j settings work.

Is there an example pom showing how to set up log4j for tests?

I have a log4j.properties in src/main/java and another src/test/java.
My pom is based on the web-app archetype but I added the java & test
directories.

Sorry if this is old news, but I'm also having trouble finding clear
documentation for what I want.

???
,chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE : setting log4j log level for tests

Posted by Olivier Lamy <ol...@accor.com>.
Try to add it in src/test/resources


-----Message d'origine-----
De : Christofer Jennings [mailto:bozmoz@gmail.com] 
Envoyé : mercredi 9 août 2006 19:00
À : Maven Users List
Objet : setting log4j log level for tests


newbee Q: I'm using maven2 and am having trouble figuring out how
log4j settings work.

Is there an example pom showing how to set up log4j for tests?

I have a log4j.properties in src/main/java and another src/test/java.
My pom is based on the web-app archetype but I added the java & test
directories.

Sorry if this is old news, but I'm also having trouble finding clear
documentation for what I want.

???
,chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org