Mostly decoupled WebGUI from Log4perl

This commit is contained in:
Patrick Donelan 2010-04-09 18:44:12 -04:00
parent f22020c267
commit 2bac95fa26
3 changed files with 20 additions and 22 deletions

View file

@ -7,6 +7,7 @@ my $wg = WebGUI->new( root => '/data/WebGUI', site => 'dev.localhost.localdomain
builder {
enable 'Debug', panels => [ qw(Environment Response Timer Memory Session DBITrace PerlConfig Response) ];
enable 'Log4perl', category => 'mysite', conf => $wg->config->getWebguiRoot . '/etc/log.conf';
# Open/close the WebGUI::Session at the outer-most onion layer
enable '+WebGUI::Middleware::Session', config => $wg->config;