[jboss-jira] [JBoss JIRA] (ELY-1266) Simple String in Elytron rotating-file-audit-log.suffix attribute causes wrong audit file name

Farah Juma (JIRA) issues at jboss.org
Tue Sep 12 16:08:00 EDT 2017


     [ https://issues.jboss.org/browse/ELY-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farah Juma resolved ELY-1266.
-----------------------------
    Fix Version/s: 1.1.0.Beta53
       Resolution: Done


> 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
>          Components: Audit
>    Affects Versions: 1.1.0.Beta52
>            Reporter: Ondrej Lukas
>             Fix For: 1.1.0.Beta53
>
>
> {{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