You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Dylan Nicholson (JIRA)" <ji...@apache.org> on 2018/05/13 21:37:00 UTC
[jira] [Created] (LOG4NET-598) RollingFileAppender.DatePattern
affects file extension
Dylan Nicholson created LOG4NET-598:
---------------------------------------
Summary: RollingFileAppender.DatePattern affects file extension
Key: LOG4NET-598
URL: https://issues.apache.org/jira/browse/LOG4NET-598
Project: Log4net
Issue Type: Bug
Reporter: Dylan Nicholson
The way DatePattern is implemented means it is always appended to the end of the standard Filename when rolling over, but that means you end up with a file that isn't .log (unless you add yet another .log to the end of the DatePattern), and so won't open easily for viewing on many O/S's (esp. MacOS).
I'd expect to be able to say that I want the static file to be called, e.g., "Logs/current.log" but each rolled over file to follow the pattern "Logs/archived-\{yyyy-mm-dd}.log"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)