Yes thanks. This works fine :
log4j.rootLogger=INFO, SOLR
log4j.appender.SOLR=org.apache.log4j.DailyRollingFileAppender
log4j.appender.SOLR.file=/home/quetelet_bdq/logs/bdq.log
log4j.appender.SOLR.datePattern='.'-MM-dd
log4j.appender.SOLR.layout=org.apache.log4j.PatternLayout
log4j.appender.SO
Oh, and for sharing purposes; we use a configuration like this one. It'll have
an info and error log and stores them next to Tomcat's own logs in
/var/log/tomat on Debian systems (or whatever catalina.base is on other
distros).
log4j.rootLogger=DEBUG, info, error
log4j.appender.info=org.apach
Oh, now looking at your log4j.properties, i believe it's wrong. You declared
INFO as rootLogger but you use SOLR.
-log4j.rootLogger=INFO
+log4j.rootLogger=SOLR
try again
On Thursday 10 February 2011 09:41:29 Xavier Schepler wrote:
> Hi,
>
> I added “slf4j-log4j12-1.5.5.jar” and “log4j-1.2.
I added it to /etc/default/tomcat6.
What happened is that the same error message appeared twice in
/var/log/tomcat6/catalina.out.
Like the same file was loaded twice.
--
Tous les courriers électroniques émis depuis la messag
Add it to the CATALINA_OPTS, on Debian systems you could edit
/etc/default/tomcat
On Thursday 10 February 2011 12:27:59 Xavier SCHEPLER wrote:
> -Dlog4j.configuration=$CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.pr
> operties
--
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/m
Thanks for your response.
How could I do that ?
>
> From: Jan Høydahl
> Sent: Thu Feb 10 11:01:15 CET 2011
> To:
> Subject: Re: Tomcat6 and Log4j
>
>
> Have you tried to start Tomcat with
> -Dlog4j.configuration=$CATALIN
Have you tried to start Tomcat with
-Dlog4j.configuration=$CATALINA_HOME/webapps/solr/WEB-INF/classes/log4j.properties
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
On 10. feb. 2011, at 09.41, Xavier Schepler wrote:
> Hi,
>
> I added “slf4j-log4j12-1.5.5.jar” and “
Hi,
I added “slf4j-log4j12-1.5.5.jar” and “log4j-1.2.15.jar” to
$CATALINA_HOME/webapps/solr/WEB-INF/lib ,
then deleted the library “slf4j-jdk14-1.5.5.jar” from
$CATALINA_HOME/webapps/solr/WEB-INF/lib,
then created a directory $CATALINA_HOME/webapps/solr/WEB-INF/classes.
and created $CATALINA_H