Thank you!
Robert D. Richardson Product Engineer Software RAD-CON, Inc. TECHNOLOGY: Innovative & Proven Phone : +1.440.871.5720 ... ext 123 Fax: +1.440.871.2948 Website: www.RAD-CON.com E-mail: [email protected] -----Original Message----- From: Lansdaal, Michael T [mailto:[email protected]] Sent: Thursday, July 29, 2010 10:02 AM To: [email protected] Subject: RE: Rotated file name control Rob - I use the RollingFileAppender and set the date pattern so that I get a .log extension. <appender name="RollingDebugLogFileAppender" type="log4net.Appender.RollingFileAppender"> <file value="TrendMasterCS" /> <appendToFile value="true" /> <rollingStyle value="Composite" /> <staticLogFileName value="false" /> <datePattern value=".yyyy-MM-dd.lo\g" /> Thanks, Mike -----Original Message----- From: Rob Richardson [mailto:[email protected]] Sent: Wednesday, July 28, 2010 12:57 PM To: Log4NET User Subject: Rotated file name control Greetings! I am using a rotating file log. The current file is TrendMasterCS.log. Yesterday's file is TrendMasterCS.log.2010-07-10. Since the default action for a file is based on its extension, I would prefer the rotated file name to be TrendMasterCS.2010-07-10.log. I didn't see a way to control that. Can it be controlled? Thank you. RobR
