Hi,

i wonder how i should do to get something like that:
...
logfile2006-09-1.log
logfile2006-09-2.log
logfile2006-09-2.log
...

I only use property configurator and this file:
//.....
log4j.rootCategory=DEBUG, A
log4j.appender.A=org.apache.log4j.FileAppender  
log4j.appender.A.File=output/temp
log4j.appender.A.Append=true
log4j.appender.A.layout=org.apache.log4j.PatternLayout  
log4j.appender.A.layout.ConversionPattern=%d{%Y-%m-%d %H:%M:%S,%Q} [%t] %-5p
%.16c - %m%n
//.....

anyone could help me me to explain how i should change properties file and
what add to my code to start logging 1 file for a day.

i very noobie, so excuse for my question and my english :)

R.
val


-- 
View this message in context: 
http://www.nabble.com/How-create-1-log-file-for-a-day--tf2195568.html#a6076013
Sent from the Log4cxx - Users forum at Nabble.com.

Reply via email to