Back to bug 1264039

Who When What Removed Added
Timothy Williams 2015-09-21 19:55:09 UTC Status NEW CLOSED
CC tiwillia
Fixed In Version openshift-origin-logshifter-1.9.1.1-1.el6op
Resolution --- CURRENTRELEASE
Last Closed 2015-09-21 15:55:09 UTC
Timothy Williams 2015-09-21 20:58:52 UTC Status CLOSED ASSIGNED
Fixed In Version openshift-origin-logshifter-1.9.1.1-1.el6op
Resolution CURRENTRELEASE ---
Assignee lmeyer tiwillia
Keywords Reopened
Josep 'Pep' Turro Mauri 2015-09-22 15:50:51 UTC CC pep
Timothy Williams 2015-09-22 19:35:15 UTC Status ASSIGNED MODIFIED
Fixed In Version openshift-origin-logshifter-1.10.1.2-1
errata-xmlrpc 2015-09-22 19:35:35 UTC Status MODIFIED ON_QA
Gaoyun Pei 2015-09-23 09:04:27 UTC Status ON_QA VERIFIED
CC gpei
Timothy Williams 2015-09-24 18:39:31 UTC Doc Text Cause: When reading configuration files, logshifter read each line using a newline as the seperator.

Consequence: When no newline character or EOL character existed at the end of a configuration file whose last line was not empty, the last line of the configuration would be ignored.

Fix: Catch an EOF and ensure that if the EOF is on a non-empty line, read the line into configuration.

Result: All lines in the logshifter configuration file are read, whether they end with a newline or EOL character or not.
Alex Dellapenta 2015-09-28 19:29:17 UTC CC adellape
Doc Text Cause: When reading configuration files, logshifter read each line using a newline as the seperator.

Consequence: When no newline character or EOL character existed at the end of a configuration file whose last line was not empty, the last line of the configuration would be ignored.

Fix: Catch an EOF and ensure that if the EOF is on a non-empty line, read the line into configuration.

Result: All lines in the logshifter configuration file are read, whether they end with a newline or EOL character or not.
When reading configuration files, logshifter previously read each line using a newline as the separator. When no newline character or EOL character existed at the end of a configuration file whose last line was not empty, the last line of the configuration would be ignored. This bug fix updates logshifter to catch an EOF and ensure that if the EOF is on a non-empty line, the line is read into the configuration. As a result, all lines in the logshifter configuration file are read, whether they end with a newline or EOL character or not.
errata-xmlrpc 2015-09-30 16:19:22 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2015-09-30 16:38:43 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2015-09-21 15:55:09 UTC 2015-09-30 12:38:43 UTC
John Skeoch 2016-09-30 02:16:20 UTC CC wsun

Back to bug 1264039