mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-10-06 13:36:10 +08:00
Print apache errors in the future to stderr
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
38f9cb2046
commit
94a508d8aa
2 changed files with 4 additions and 4 deletions
|
@ -3,8 +3,8 @@ Listen 8000
|
||||||
ServerName localhost
|
ServerName localhost
|
||||||
|
|
||||||
# Add error log
|
# Add error log
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
CustomLog /proc/self/fd/1 combined
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
ErrorLog /proc/self/fd/2
|
||||||
|
|
||||||
# PHP match
|
# PHP match
|
||||||
<FilesMatch "\.php$">
|
<FilesMatch "\.php$">
|
||||||
|
|
|
@ -9,8 +9,8 @@ logfile_backups=10
|
||||||
loglevel=error
|
loglevel=error
|
||||||
|
|
||||||
[program:apache]
|
[program:apache]
|
||||||
stdout_logfile=/dev/stdout
|
# stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
# stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
command=apachectl -DFOREGROUND
|
command=apachectl -DFOREGROUND
|
||||||
|
|
Loading…
Add table
Reference in a new issue