You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Luca Bruno (JIRA)" <ji...@apache.org> on 2016/01/28 18:53:40 UTC

[jira] [Created] (TS-4159) ATS 6.1.0 does not log to stdout when not started from shell

Luca Bruno created TS-4159:
------------------------------

             Summary: ATS 6.1.0 does not log to stdout when not started from shell
                 Key: TS-4159
                 URL: https://issues.apache.org/jira/browse/TS-4159
             Project: Traffic Server
          Issue Type: Bug
          Components: Core
            Reporter: Luca Bruno


I have a plugin that uses printf() to print some notice messages. Then my ATS is started by systemd with just `ExecStart=/usr/bin/traffic_manager`.

With ATS 6.0.0 I could see the printf() from my plugin with journalctl. That's because the stdout of the service is connected to the journal.

With ATS 6.1.0 the plugin output is not shown anymore with journalctl. However, starting `traffic_manager` from the shell actually shows the plugin output.
No file under the log directory contains the plugin output.

That makes me think there has been some change in 6.1.0 like: "if it's not a tty, close stdout", or something like that.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)