We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using AWS/ECS and docker with a log drivers, to redirect to a syslog .
The php process should write to stdout/stderr and not in a log file inside the container (which should be readonly).
I didn't try, but something like this could do the job.
[program:php-fpm] stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 command=/usr/sbin/php5-fpm -c /etc/php5/fpm
The text was updated successfully, but these errors were encountered:
djdefi
No branches or pull requests
I'm using AWS/ECS and docker with a log drivers, to redirect to a syslog .
The php process should write to stdout/stderr and not in a log file inside the container (which should be readonly).
I didn't try, but something like this could do the job.
[program:php-fpm]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/usr/sbin/php5-fpm -c /etc/php5/fpm
The text was updated successfully, but these errors were encountered: