When using this appender, you can not specify the
rolled file to be named "log.xml.[dd-MM-yyyy].xml".
That is, to specify a file extension, you have to
append it to the dateformat, but that causes the "m" in
".xml" to be interpreted as another date formatting
(i.e. minutes).
Ideally, when specifying StaticLogFileName, it would be
useful to have a StaticLogFileNameExtension property.
Logged In: YES
user_id=278872
The date pattern is passed directly to the DateTime.ToString
function. This allows strings to be embedded in the pattern
as long as they are placed within single quotes. Therefore the
pattern:
'log.xml.['dd-MM-yyyy'].xml'
should do the trick.
Logged In: YES
user_id=222270
Great!! Thanks!!