[jboss-jira] [JBoss JIRA] (LOGMGR-36) FileHandler which rolls the file when a system property changes.
David Lloyd (JIRA)
issues at jboss.org
Thu Mar 1 09:48:00 EST 2018
[ https://issues.jboss.org/browse/LOGMGR-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Lloyd reassigned LOGMGR-36:
---------------------------------
Assignee: (was: David Lloyd)
> FileHandler which rolls the file when a system property changes.
> ----------------------------------------------------------------
>
> Key: LOGMGR-36
> URL: https://issues.jboss.org/browse/LOGMGR-36
> Project: JBoss Log Manager
> Issue Type: Feature Request
> Reporter: Ondrej Zizka
>
> I'd make use of a FileHandler which would roll the file when a system property changes.
> For use case, see ARQ-710.
> The handler would have a property called, say, fileNameFormat, which would be a string like:
> {code}
> my-server-log-${arq.currentTest}-${arq.containerId}.txt
> {code}
> The handler would replace the string every time and compare with previous; when different, it would roll the file.
> It would not be super efficient but good enough for the purposes of testing.
> (It would not be the default handler, only configured on demand.)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list