diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-04-10 17:29:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-10 17:29:02 +0200 |
commit | 0002ecc5bb7078e2da0350fcc3c2850cf02bcd7b (patch) | |
tree | 4a465207632b31ddae6d34df623ce37da5fd3267 /Bugzilla/DaemonControl.pm | |
parent | 58c4f6814461ee4e35f0cffbdd63d948df940d35 (diff) | |
download | bugzilla-0002ecc5bb7078e2da0350fcc3c2850cf02bcd7b.tar.gz bugzilla-0002ecc5bb7078e2da0350fcc3c2850cf02bcd7b.tar.xz |
Bug 1450990 - Refactor a bunch of the logging config files
Diffstat (limited to 'Bugzilla/DaemonControl.pm')
-rw-r--r-- | Bugzilla/DaemonControl.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/DaemonControl.pm b/Bugzilla/DaemonControl.pm index 6586cc01b..2c6df1b87 100644 --- a/Bugzilla/DaemonControl.pm +++ b/Bugzilla/DaemonControl.pm @@ -81,7 +81,13 @@ sub run_cereal { on_exception => on_exception( 'cereal', $exit_f ), ); $exit_f->on_cancel( sub { $cereal->kill('TERM') } ); + $exit_f->on_ready( + sub { + delete $ENV{LOG4PERL_STDERR_DISABLE}; + } + ); $loop->add($cereal); + $ENV{LOG4PERL_STDERR_DISABLE} = 1; return $exit_f; } |