summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColan Schwartz2019-03-04 21:19:43 (GMT)
committerColan Schwartz2019-03-04 21:19:43 (GMT)
commit6a88fc00340b8a380c152f0a2f0df99b853b8660 (patch)
treef7e5cca97beaceb034abc5d1db448e161624131c
parent7892b45e992e74c14cd7971fa381f563e7e51bd2 (diff)
Issue #3035720 by colan, ergonlogic: Set each site's Syslog identity to the site name.HEAD7.x-3.x
-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.