where to put log4j.properties

2007-03-23 Thread Adam Hardy
I am running the 'mvn site' and one of the reports is not working. To get more info on the issue I'm trying to get logging working for it. Currently I see log4j complain like this: [INFO] Generate Jira Report report. log4j:WARN No appenders could be found for logger

Re: where to put log4j.properties

2007-03-23 Thread Eric Redmond
src/main/resources On 3/23/07, Adam Hardy [EMAIL PROTECTED] wrote: I am running the 'mvn site' and one of the reports is not working. To get more info on the issue I'm trying to get logging working for it. Currently I see log4j complain like this: [INFO] Generate Jira Report report.

RE: where to put log4j.properties

2007-03-23 Thread Phill Moran
src/main/resources or src/main/java/resources? Is there a standard placement for this. -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: March 23, 2007 11:48 AM To: Maven Users List Subject: Re: where to put log4j.properties src/main/resources On 3/23/07, Adam

Re: where to put log4j.properties

2007-03-23 Thread Wayne Fay
: March 23, 2007 11:48 AM To: Maven Users List Subject: Re: where to put log4j.properties src/main/resources On 3/23/07, Adam Hardy [EMAIL PROTECTED] wrote: I am running the 'mvn site' and one of the reports is not working. To get more info on the issue I'm trying to get logging working

RE: where to put log4j.properties

2007-03-23 Thread Phill Moran
Huh, I had mine under src/test/resources as I saw this as a test requirement. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: March 23, 2007 2:45 PM To: Maven Users List Subject: Re: where to put log4j.properties As Eric stated, src/main/resources is the standard

Re: [m2] Where to put log4j.properties file

2006-06-09 Thread ben short
Hi all, I posted this on the glassfish user mailing list and they suggested adding a jar file that contains the log4j.properties to the ear. This solution works, although the log file is created in the config directory for the domain. Im awating an answer on this problem. Thanks for your help.

Re: [m2] Where to put log4j.properties file

2006-06-08 Thread Stephane Nicoll
Hi, If you want to bootsrap log4j, you'll need to put it in the root of a JAR file included in your EAR. EAR is just an artifacts container, i.e. it just contains librarries (ejb, jar, etc). Adding single resources file is not forseen (even if app server have custom solutions such as the

Re: [m2] Where to put log4j.properties file

2006-06-08 Thread Wayne Fay
I have a src/main/resources/META-INF directory which includes application.xml, jazn-data.xml, and orion-application.xml. Those files are included in my EAR in the my.ear!META-INF/ directory. My app server (Oracle OAS / OC4J) uses those files to configure security and other j2ee parameters which

[m2] Where to put log4j.properties file

2006-06-07 Thread ben short
Hi, Where do I have to put my log4j.properties file in a ear file for it to be used? I have tried adding it to /src/main/resources but it dosent get picked up on the app server. Ben - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [m2] Where to put log4j.properties file

2006-06-07 Thread SlinnHawkins, Jon (ELS)
Hi Ben, Which App Sever are you using ? WebSphere ? ben short [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi, Where do I have to put my log4j.properties file in a ear file for it to be used? I have tried adding it to /src/main/resources but it dosent get picked up

RE: [m2] Where to put log4j.properties file

2006-06-07 Thread Mike Perham
, 2006 9:04 AM To: Maven Users List Subject: Re: [m2] Where to put log4j.properties file Jon, Im using Glassfish Ben On 6/7/06, SlinnHawkins, Jon (ELS) [EMAIL PROTECTED] wrote: Hi Ben, Which App Sever are you using ? WebSphere ? ben short [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [m2] Where to put log4j.properties file

2006-06-07 Thread SlinnHawkins, Jon (ELS)
Hi Ben, Which App Sever are you using ? WebSphere ? ben short [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi, Where do I have to put my log4j.properties file in a ear file for it to be used? I have tried adding it to /src/main/resources but it dosent get picked up on