summaryrefslogtreecommitdiffstats
path: root/vagrant_support
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-10 17:29:02 +0200
committerGitHub <noreply@github.com>2018-04-10 17:29:02 +0200
commit0002ecc5bb7078e2da0350fcc3c2850cf02bcd7b (patch)
tree4a465207632b31ddae6d34df623ce37da5fd3267 /vagrant_support
parent58c4f6814461ee4e35f0cffbdd63d948df940d35 (diff)
downloadbugzilla-0002ecc5bb7078e2da0350fcc3c2850cf02bcd7b.tar.gz
bugzilla-0002ecc5bb7078e2da0350fcc3c2850cf02bcd7b.tar.xz
Bug 1450990 - Refactor a bunch of the logging config files
Diffstat (limited to 'vagrant_support')
-rw-r--r--vagrant_support/apache.j22
-rw-r--r--vagrant_support/playbook.yml9
2 files changed, 11 insertions, 0 deletions
diff --git a/vagrant_support/apache.j2 b/vagrant_support/apache.j2
index 773672fa1..2222de41b 100644
--- a/vagrant_support/apache.j2
+++ b/vagrant_support/apache.j2
@@ -1,6 +1,8 @@
PerlSwitches -wT
PerlSetEnv USE_NYTPROF 0
PerlSetEnv BUGZILLA_UNSAFE_AUTH_DELEGATION 1
+PerlPassEnv LOG4PERL_CONFIG_FILE
+PerlSetEnv LOG4PERL_STDERR_DISABLE=1
PerlConfigRequire /vagrant/mod_perl.pl
<IfModule mpm_prefork_module>
diff --git a/vagrant_support/playbook.yml b/vagrant_support/playbook.yml
index f38c1fc06..b394f5592 100644
--- a/vagrant_support/playbook.yml
+++ b/vagrant_support/playbook.yml
@@ -50,6 +50,15 @@
group: root
mode: 0644
+ - name: 'add LOG4PERL_CONFIG_FILE'
+ lineinfile:
+ dest: /etc/environment
+ regexp: 'LOG4PERL_CONFIG_FILE='
+ line: 'LOG4PERL_CONFIG_FILE=log4perl-vagrant.conf'
+ owner: root
+ group: root
+ mode: 0644
+
- name: copy ntp.conf
copy:
src: ntp.conf