Supervisord - Redirect Prozess stdout Konsole

Ich bin der Planung bis zur Ausführung mehrerer Prozesse mit Vorgesetzten und bitte meine supervisord.conf-Datei unter:

[supervisord]

[program:bash]
command=xyz
stdout_logfile =/tmp/bash.log
redirect_stderr=true

[supervisorctl]
serverurl=unix:///tmp/supervisor.sock

[unix_http_server]
file=/tmp/supervisor.sock ; path to your socket file

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

Ich wünschte, die Umleitung des stdout des Prozesses namens bash supervisor-Konsole so, dass wenn ich start-supervisor mit

/usr/bin/supervisord

Befehl, ich konnte sehen, wie der Kind-Prozess protokolliert. Wie kann ich dies tun ? Ich habe versucht, syslog-für stdout_logfile-Attribut, aber es hat nicht funktioniert.

InformationsquelleAutor der Frage KarthikJ | 2014-08-08

Schreibe einen Kommentar