Re: set the placeholder in the log4j.properties file

2010-12-30 Thread maven apache
place a minimal config file in the classpath > > pointing > > all logging to the Console and then let your init servlet configure the > > preferred > > config file as you are doing. I guess it all depends on how important it > is > > for > > you to get all logging

set the placeholder in the log4j.properties file

2010-12-26 Thread maven apache
Hi: I want the logs created by log4j put under the app dir,so I set the placeholder in the log4j.properties: # chartstdout is set to be a ConsoleAppender. log4j.appender.chartstdout=org.apache.log4j.ConsoleAppender log4j.appender.chartstdout.layout=org.apache.log4j.PatternLayout log4j.appender.ch

Re: does log4j support wildcard

2010-12-06 Thread maven apache
possible for > > wildcards) > > Would that make sense in the wanted use and context? No, so I would not > > refer to > > ${user.dir} as to a widlcard, even ${user.dir} migth be defined to a > valid > > user > > On most OS and platforms, but have to lead/fo

Re: does log4j support wildcard

2010-11-30 Thread maven apache
2010/11/30 JOSE L MARTINEZ-AVIAL > For example, to use the user dir in the path: > log4j.appender.ECO_LOG.File=${user.dir}/../logs/eco.log > :) Thank you very much. > > > > 2010/11/30 maven apache > > > 2010/11/30 JOSE L MARTINEZ-AVIAL > > > > &

Re: does log4j support wildcard

2010-11-30 Thread maven apache
2010/11/30 JOSE L MARTINEZ-AVIAL > A system propertie will do. I use it, and works perfectly. > Thanks, I will have a try. :) > > 2010/11/30 maven apache > > > 2010/11/30 Stadelmann Josef > > > > > How can you define a destination with a widlcard? > &

Re: does log4j support wildcard

2010-11-30 Thread maven apache
be written at > > Yes,so it means the can be set in the System.properties? > ./logs/tomcat.log > > Josef > > > > -Ursprüngliche Nachricht- > Von: maven apache [mailto:apachemav...@gmail.com] > Gesendet: Dienstag, 30. November 2010 00:31 > An

Re: does log4j support wildcard

2010-11-29 Thread maven apache
1. log4j.appender.FILE=org.apache.log4j.FileAppender 2. log4j.appender.FILE.File={}/file.log where the is the wildcard 2010/11/30 Scott Deboy > Can you clarify what you mean specifically by 'wildcard'? > > Scott > > On Mon, Nov 29, 2010 at 3:32 AM, maven

does log4j support wildcard

2010-11-29 Thread maven apache
Hi: Does log4j support wildcard? Is there a example?