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/27 19:07:52 UTC

[jira] [Created] (QUARKS-213) textFileWriter is naming rolling log files with day-in-year not day-in-month

Dale LaBossiere created QUARKS-213:
--------------------------------------

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


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)