talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

app layer log4j configuration

RL
Ray Lee
Fri, Apr 6, 2012 4:25 PM

Hi,
I've been attempting to configure logging in the app layer, and I've found that editing the log4j.properties file in tomcat-main/src/main/resources in the source tree, and building, has no effect. However, creating and editing log4j.properties in war-entry/src/main/resources does work. Am I doing something wrong, or is this file just in the wrong place? I'm working with code recently pulled from master.

Thanks,
Ray

Hi, I've been attempting to configure logging in the app layer, and I've found that editing the log4j.properties file in tomcat-main/src/main/resources in the source tree, and building, has no effect. However, creating and editing log4j.properties in war-entry/src/main/resources does work. Am I doing something wrong, or is this file just in the wrong place? I'm working with code recently pulled from master. Thanks, Ray
PS
Patrick Schmitz
Fri, Apr 13, 2012 8:02 PM

I was able to do this. Perhaps you are running into the old war-file
expansion issues?

-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of Ray Lee
Sent: Friday, April 06, 2012 9:26 AM
To: CollectionSpace Talk List
Subject: [Talk] app layer log4j configuration

Hi,
I've been attempting to configure logging in the app layer,
and I've found that editing the log4j.properties file in
tomcat-main/src/main/resources in the source tree, and
building, has no effect. However, creating and editing
log4j.properties in war-entry/src/main/resources does work.
Am I doing something wrong, or is this file just in the wrong
place? I'm working with code recently pulled from master.

Thanks,
Ray


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
ollectionspace.org

I was able to do this. Perhaps you are running into the old war-file expansion issues? > -----Original Message----- > From: talk-bounces@lists.collectionspace.org > [mailto:talk-bounces@lists.collectionspace.org] On Behalf Of Ray Lee > Sent: Friday, April 06, 2012 9:26 AM > To: CollectionSpace Talk List > Subject: [Talk] app layer log4j configuration > > Hi, > I've been attempting to configure logging in the app layer, > and I've found that editing the log4j.properties file in > tomcat-main/src/main/resources in the source tree, and > building, has no effect. However, creating and editing > log4j.properties in war-entry/src/main/resources does work. > Am I doing something wrong, or is this file just in the wrong > place? I'm working with code recently pulled from master. > > Thanks, > Ray > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.c > ollectionspace.org >