Hi,
You should modify
$SMX4_HOME/etc/org.ops4j.pax.logging.cfg
Freeman
On 2010-5-19, at 上午5:28, kkashi wrote:
Hello,
All help on the following is appreciated:
I have created my log4j.properties file and am trying to have my
logs go
into a specific log file. However, they all go into karaf.log file.
What
needs to be done to have them redirect to my own log file?
----- my properties file:
...
log4j.appender.F=org.apache.log4j.DailyRollingFileAppender
log4j.appender.F.File=/path/to/logfile/myLog.log
log4j.appender.F.layout=org.apache.log4j.PatternLayout
log4j.appender.F.layout.ConversionPattern=%d{ABSOLUTE} [%5p] - %m%n
log4j.appender.F.DatePattern='.'yyyy-MM-dd
...
Thanks in advance
--
View this message in context:
http://old.nabble.com/log4j-and-karaf.log-tp28601599p28601599.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com