[jboss-jira] [JBoss JIRA] (ELY-1266) Simple String in Elytron rotating-file-audit-log.suffix attribute causes wrong audit file name
Ondrej Lukas (JIRA)
issues at jboss.org
Tue Jun 27 05:03:00 EDT 2017
[ https://issues.jboss.org/browse/ELY-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ondrej Lukas updated ELY-1266:
------------------------------
Affects Version/s: 1.1.0.Beta52
> Simple String in Elytron rotating-file-audit-log.suffix attribute causes wrong audit file name
> ----------------------------------------------------------------------------------------------
>
> Key: ELY-1266
> URL: https://issues.jboss.org/browse/ELY-1266
> Project: WildFly Elytron
> Issue Type: Bug
> Affects Versions: 1.1.0.Beta52
> Reporter: Ondrej Lukas
> Assignee: Darran Lofthouse
>
> {{suffix}} attribute of Elytron {{rotating-file-audit-log}} uses {{java.text.SimpleDateFormat}} format [1]. It means that {{'someText'}} can be used as value of {{suffix}} attribute. However in case when only this string (without any pattern letters) is used in {{suffix}}, then resulting audit file name includes suffix "null" instead of defined suffix "someText". In case when suffix includes also pattern letters (e.g. {{d'someText'}}) then it works correctly.
> [1] https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list