You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Brendon Co <Br...@asia.bigfoot.com> on 2003/04/30 06:09:47 UTC

output file using log4j

I want my output to be file.2003-04-29.log
is this the right way to initialize filename?

log4j.appender.A1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A1.File=file
log4j.appender.A4.DatePattern='.'yyyy-MM-dd'.txt'





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.476 / Virus Database: 273 - Release Date: 4/24/2003
 

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org