Skip to content

Commit

Permalink
Drupal: Enable verbose error logging (ddev#4689) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach authored Apr 6, 2023
1 parent c584072 commit a4cdf6c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/ddevapp/drupal/drupal10/settings.ddev.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@
$config['symfony_mailer.mailer_transport.sendmail']['configuration']['pass']='';
$config['symfony_mailer.mailer_transport.sendmail']['configuration']['host']='localhost';
$config['symfony_mailer.mailer_transport.sendmail']['configuration']['port']='1025';

// Enable verbose logging for errors.
// https://www.drupal.org/forum/support/post-installation/2018-07-18/enable-drupal-8-backend-errorlogdebugging-mode
$config['system.logging']['error_level'] = 'verbose';
4 changes: 4 additions & 0 deletions pkg/ddevapp/drupal/drupal7/settings.ddev.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@
);

$drupal_hash_salt = '{{ $config.HashSalt }}';

// Enable verbose logging for errors.
// https://www.drupal.org/docs/7/creating-custom-modules/show-all-errors-while-developing
$conf['error_level'] = 2;
3 changes: 3 additions & 0 deletions pkg/ddevapp/drupal/drupal8/settings.ddev.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@
$config['swiftmailer.transport']['smtp_port'] = '1025';
$config['swiftmailer.transport']['smtp_encryption'] = '0';

// Enable verbose logging for errors.
// https://www.drupal.org/forum/support/post-installation/2018-07-18/enable-drupal-8-backend-errorlogdebugging-mode
$config['system.logging']['error_level'] = 'verbose';
4 changes: 4 additions & 0 deletions pkg/ddevapp/drupal/drupal9/settings.ddev.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@
$config['swiftmailer.transport']['smtp_host'] = '127.0.0.1';
$config['swiftmailer.transport']['smtp_port'] = '1025';
$config['swiftmailer.transport']['smtp_encryption'] = '0';

// Enable verbose logging for errors.
// https://www.drupal.org/forum/support/post-installation/2018-07-18/enable-drupal-8-backend-errorlogdebugging-mode
$config['system.logging']['error_level'] = 'verbose';

0 comments on commit a4cdf6c

Please sign in to comment.