summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Provision/Config/Drupal/provision_drupal_settings_7.tpl.php5
-rw-r--r--Provision/Config/Drupal/provision_drupal_settings_8.tpl.php5
2 files changed, 10 insertions, 0 deletions
diff --git a/Provision/Config/Drupal/provision_drupal_settings_7.tpl.php b/Provision/Config/Drupal/provision_drupal_settings_7.tpl.php
index b8b5280..c4f7005 100644
--- a/Provision/Config/Drupal/provision_drupal_settings_7.tpl.php
+++ b/Provision/Config/Drupal/provision_drupal_settings_7.tpl.php
@@ -157,6 +157,11 @@ if (isset($_SERVER['db_name'])) {
<?php endif; ?>
<?php endif; ?>
+ /**
+ * Set the Syslog identity to the site name so it's not always "drupal".
+ */
+ $conf['syslog_identity'] = '<?php print $this->uri ?>';
+
<?php print $extra_config; ?>
# Additional host wide configuration settings. Useful for safely specifying configuration settings.
diff --git a/Provision/Config/Drupal/provision_drupal_settings_8.tpl.php b/Provision/Config/Drupal/provision_drupal_settings_8.tpl.php
index e889b40..f4a8ce7 100644
--- a/Provision/Config/Drupal/provision_drupal_settings_8.tpl.php
+++ b/Provision/Config/Drupal/provision_drupal_settings_8.tpl.php
@@ -182,6 +182,11 @@ if (isset($_SERVER['db_name'])) {
'\.local$',
);
+ /**
+ * Set the Syslog identity to the site name so it's not always "drupal".
+ */
+ $config['syslog.settings']['identity'] = '<?php print $this->uri ?>';
+
<?php print $extra_config; ?>
# Additional host wide configuration settings. Useful for safely specifying configuration settings.