You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Dale LaBossiere (JIRA)" <ji...@apache.org> on 2016/06/28 18:52:57 UTC
[jira] [Resolved] (QUARKS-213) textFileWriter is naming rolling log
files with day-in-year not day-in-month
[ https://issues.apache.org/jira/browse/QUARKS-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dale LaBossiere resolved QUARKS-213.
------------------------------------
Resolution: Fixed
> textFileWriter is naming rolling log files with day-in-year not day-in-month
> ----------------------------------------------------------------------------
>
> Key: QUARKS-213
> URL: https://issues.apache.org/jira/browse/QUARKS-213
> Project: Quarks
> Issue Type: Bug
> Components: Connectors
> Reporter: Dale LaBossiere
> Assignee: Dale LaBossiere
> Priority: Minor
> Labels: newbie
>
> FileStreams.textFileWriter() is generating a name like: scannerReadings_201606179_150021
> Notice the "179". It should be "27" - it's June 27th. The "179" is the number of the day in the year instead of the month.
> FileWriterPolicy.ymdhms() needs to specify "dd" instead of "DD" in its SimpleDataFormat() pattern.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)