edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale LaBossiere (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QUARKS-213) textFileWriter is naming rolling log files with day-in-year not day-in-month
Date Mon, 27 Jun 2016 19:07:52 GMT
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)

Mime
View raw message