summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Quantum.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-21 20:24:43 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:57 +0200
commit7f3e24134e85964e4e0177116364995ddf724601 (patch)
tree64632ed1fa9bb2c357d5c904530fe07ded5d3961 /Bugzilla/Quantum.pm
parent3d8dc32afa0131e2ac0cd121b492aed8ad59fc11 (diff)
downloadbugzilla-7f3e24134e85964e4e0177116364995ddf724601.tar.gz
bugzilla-7f3e24134e85964e4e0177116364995ddf724601.tar.xz
fix logging
Diffstat (limited to 'Bugzilla/Quantum.pm')
-rw-r--r--Bugzilla/Quantum.pm5
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);