This is possible to achieve for dates by adding the extension to the datePattern. See DateTime.ToString for details on how to embed literal strings into the date pattern.
Currently when rolling by size (or by size in Composite mode) the numbered file entry must be the last part of the filename. Nicko > -----Original Message----- > From: Mike Blake-Knox [mailto:[EMAIL PROTECTED] > Sent: 25 November 2004 23:42 > To: 'Log4NET User' > Subject: RoolingFileAppender constant file extensions > > Windows file utilities use a file's extension (text after the > last "." in the name) to determine its type. File names > generated by the RollingFileAppender seem to have a sequence > number or date as the last text in the name. Is there a way > to configure the RollingFileAppender so that the generated > file name's extension are constant (e.g., .log) and the > date/sequence fields are before the final "."? > > Thanks > > Mike Blake-Knox > Voice: (706) 561-7491 > Email: [EMAIL PROTECTED] > > > >
