exec redirect log to stdout
Closed this issue · 1 comments
thegobot commented
Not work. How to use it?
exec live {
enabled on;
publish /usr/bin/bash /opt/transcode.sh --app [app] --stream [stream] --port 1937 > /path/to/file;
}
thegobot commented
Hmmm.... Only by using the source code did I somehow understand this.
It needs to be described in the documentation
1>/var/log/stdout.log
2>/var/log/stderr.log
without spaces...
publish command 1>/var/log/stdout.log 2>/var/log/stderr.log