You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Steve Ash (JIRA)" <ji...@apache.org> on 2010/10/20 23:30:23 UTC

[jira] Created: (DAEMON-181) Logfile on Windows should use Windows-style line endings (CRLF) instead of Linux-style (LF)

Logfile on Windows should use Windows-style line endings (CRLF) instead of Linux-style (LF)
-------------------------------------------------------------------------------------------

                 Key: DAEMON-181
                 URL: https://issues.apache.org/jira/browse/DAEMON-181
             Project: Commons Daemon
          Issue Type: Improvement
          Components: Procrun
    Affects Versions: 1.0.3
            Reporter: Steve Ash
            Priority: Trivial


Currently the log file for procrun writes out messages with a LF separator.  This makes is difficult to read the log files using the build in windows file viewer notepad.

The line separator is defined as #define LINE_SEP "\n" in log.c, which is already a windows specific implementation file.  Thus, this may be as simple as changing that.  Unless there was a reason for using just LF.  I couldn't find anything in the mailing list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DAEMON-181) Logfile on Windows should use Windows-style line endings (CRLF) instead of Linux-style (LF)

Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mladen Turk resolved DAEMON-181.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.4

Indeed we should have used DOS line endings.
Fixed in the trunk and will be part of 1.0.4


> Logfile on Windows should use Windows-style line endings (CRLF) instead of Linux-style (LF)
> -------------------------------------------------------------------------------------------
>
>                 Key: DAEMON-181
>                 URL: https://issues.apache.org/jira/browse/DAEMON-181
>             Project: Commons Daemon
>          Issue Type: Improvement
>          Components: Procrun
>    Affects Versions: 1.0.3
>            Reporter: Steve Ash
>            Priority: Trivial
>             Fix For: 1.0.4
>
>
> Currently the log file for procrun writes out messages with a LF separator.  This makes is difficult to read the log files using the build in windows file viewer notepad.
> The line separator is defined as #define LINE_SEP "\n" in log.c, which is already a windows specific implementation file.  Thus, this may be as simple as changing that.  Unless there was a reason for using just LF.  I couldn't find anything in the mailing list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.