[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


Ondrej Lukas created ELY-1266:
---------------------------------

             Summary: 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
            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