Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support setting the log file to /dev/stdout or /dev/stderr
If the log file is /dev/stdout or /dev/stderr, do not redirect the child process's stdout/stderr to a file, which causes the original stdout/stderr to be lost. Logging to /dev/stdout or /dev/stderr is a common pattern when using Docker.
- Loading branch information
1 parent
9d493d0
commit 0854291
Showing
1 changed file
with
118 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters