Back to bug 1028129
| Who | When | What | Removed | Added |
|---|---|---|---|---|
| TJ Cowhey | 2013-11-07 17:52:16 UTC | Doc Text | I need the ability to format our file naming structure specific to our enterprise rules. For example, our template specifies the following: <appender name="mylog" class="org.apache.log4j.rolling.RollingFileAppender"> <rollingPolicy class="org.apache.log4j.rolling.TimeBasedRollingPolicy"> <param name="FileNamePattern" value="/myapp/app_%d{yyyyMMddHHmm}_mylog.log" /> </rollingPolicy> </appender> I know that I can use a periodic-rotating-file-handler to format the file names, but it is restrictive and cannot match our requirements: <periodic-rotating-file-handler name="FILE" autoflush="true"> <formatter> <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/> </formatter> <file relative-to="jboss.server.log.dir" path="server.log"/> <suffix value=".yyyyMMddHHmm"/> <append value="true"/> </periodic-rotating-file-handler> | |
| Doc Type | Bug Fix | Enhancement | ||
| TJ Cowhey | 2013-11-07 17:54:26 UTC | Type | Bug | Feature Request |
| James Perkins | 2014-09-16 16:47:57 UTC | CC | fernando80920 | |
| Status | NEW | CLOSED | ||
| Link ID | JBoss Issue Tracker EAP6-254 | |||
| Resolution | --- | NEXTRELEASE | ||
| Last Closed | 2014-09-16 12:47:57 UTC |
Back to bug 1028129