You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (JIRA)" <ji...@apache.org> on 2017/10/30 14:28:03 UTC

[jira] [Resolved] (DAEMON-359) Control characters messed up with SYSLOG output

     [ https://issues.apache.org/jira/browse/DAEMON-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Thomas resolved DAEMON-359.
--------------------------------
    Resolution: Not A Problem

The escaping is happening in syslog and can be controlled via configuration. I suspect you are seeing the results of the logging framework buffering several messages and then flushing them.

> Control characters messed up with SYSLOG output
> -----------------------------------------------
>
>                 Key: DAEMON-359
>                 URL: https://issues.apache.org/jira/browse/DAEMON-359
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Jsvc
>    Affects Versions: 1.0.15
>         Environment: CentOS 6.8 (virtual machine, all defaults)
> jsvc 1.0.15
>            Reporter: Julien Nicoulaud
>
> Using the {{-outfile SYSLOG}} option, on CentOS 6 I get this kind of output in {{/var/log/messages}}:
> {code}
> Feb  9 11:21:43 localhost mydaemon[16262]: [INFO ] mydaemon is initialized.#012[INFO ] mydaemon is starting...
> {code}
> => Several log lines are concatenated.
> It looks like {{#012}} is the line return character. I also have {{#011}} instead of tabs.
> My application uses SLF4J+Logback, with default console appender.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)