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
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.
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
: 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
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
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.
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
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
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]
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
, 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
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
12 matches
Mail list logo