commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DAEMON-359) Control characters messed up with SYSLOG output
Date Mon, 30 Oct 2017 14:28:03 GMT

     [ 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)

Mime
View raw message