-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
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
Set error_log location for containerization #663
Conversation
@@ -8,6 +8,7 @@ display_startup_errors = ${PHP_DISPLAY_STARTUP_ERRORS:-Off} | |||
auto_prepend_file = ${PHP_AUTO_PREPEND_FILE:-none} | |||
auto_append_file = ${PHP_AUTO_APPEND_FILE:-none} | |||
error_reporting = ${PHP_ERROR_REPORTING:-E_ALL & ~E_DEPRECATED & ~E_STRICT} | |||
error_log=${PHP_ERROR_LOG:-/proc/self/fd/2} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I have deployed the test image that was built by the CI from this PR to a Lagoon environment and in the CLI container I get
[foobar]test@cli-drupal:/app$ php -i | grep error_log
error_log => /proc/self/fd/2 => /proc/self/fd/2
but admin/reports/status/php
says error_log is unset...
@@ -5,3 +5,5 @@ | |||
; Default Unit: seconds | |||
; Default Value: 0 | |||
process_control_timeout = 30s | |||
|
|||
error_log = ${PHP_ERROR_LOG:-/proc/self/fd/2} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try this...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still the same...
We think this is working correctly already. |
Closes #662