[
https://issues.jboss.org/browse/WFLY-2981?page=com.atlassian.jira.plugin....
]
Stan Silvert commented on WFLY-2981:
------------------------------------
Looking at SimpleDateFormat, I do have the option of parsing the date back out. So I
could pass in a format String that includes everything but the kitchen sink, then parse
the string that comes back to get a Date object.
But that technique seems error-prone and non-obvious.
Instead of my earlier suggestion to have two fields, why don't we put a flag on the
operation called, "format-date", with a default value of true. That way, the
default can be human-readable, but if you need the date as a Long then the operation can
give it to you that way.
Add a date format attribute to the list-log-files operation
-----------------------------------------------------------
Key: WFLY-2981
URL:
https://issues.jboss.org/browse/WFLY-2981
Project: WildFly
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Logging
Reporter: James Perkins
Assignee: James Perkins
Priority: Minor
The {{list-log-files}} operation outputs the last modified date of the available log
files. The current date format is {{yyyy-MM-dd'T'HH:mm:ss.SSSZ}}, but it could be
useful for the operation to allow any valid {{SimpleDateFormat}} to be used.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira