diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-05-21 20:24:43 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:41:57 +0200 |
commit | 7f3e24134e85964e4e0177116364995ddf724601 (patch) | |
tree | 64632ed1fa9bb2c357d5c904530fe07ded5d3961 /Bugzilla/Quantum.pm | |
parent | 3d8dc32afa0131e2ac0cd121b492aed8ad59fc11 (diff) | |
download | bugzilla-7f3e24134e85964e4e0177116364995ddf724601.tar.gz bugzilla-7f3e24134e85964e4e0177116364995ddf724601.tar.xz |
fix logging
Diffstat (limited to 'Bugzilla/Quantum.pm')
-rw-r--r-- | Bugzilla/Quantum.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Bugzilla/Quantum.pm b/Bugzilla/Quantum.pm index f40348653..44b9b6e5b 100644 --- a/Bugzilla/Quantum.pm +++ b/Bugzilla/Quantum.pm @@ -8,7 +8,8 @@ package Bugzilla::Quantum; use Mojo::Base 'Mojolicious'; -use CGI::Compile; # Primarily for its exit overload. +use CGI::Compile; # Needed for its exit() overload +use Bugzilla::Logging; use Bugzilla::Quantum::Template; use Bugzilla::Quantum::CGI; use Bugzilla::Quantum::Static; @@ -35,6 +36,8 @@ sub startup { $self->plugin('Bugzilla::Quantum::Plugin::Glue'); + $self->log(Log::Log4perl->get_logger(__PACKAGE__)); + my $r = $self->routes; Bugzilla::Quantum::CGI->load_all($r); |