wodby / docker4drupal

Docker-based Drupal stack
https://wodby.com/docker4drupal
MIT License
1.24k stars 535 forks source link

Disable verbose loggin in PHP container, Trigger value for 'XDEBUG_TRIGGER' not found #525

Open ghost opened 2 years ago

ghost commented 2 years ago

Latest d4d. I am getting these logs but I don't have such entries in older d4d containers when I run drush. How to stop this?

wodby@php.container:/var/www/html $ drush cr
[118] Log opened at 2022-07-22 15:03:13.832680
[118] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION'
[118] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating
 [success] Cache rebuild complete.
[118] Log closed at 2022-07-22 15:03:15.191116
igorbiki commented 2 years ago

Not sure if this is a fix, but if you uncomment this line in docker-compose.yml PHP_XDEBUG_LOG: /tmp/php-xdebug.log

output goes away! Don't forget to restart containers.

iVegas commented 1 year ago

Please check an example of how to decrease xdebug logging level using the environment variable https://github.com/wodby/docker4drupal/issues/507