diff options
-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); |