Mostly decoupled WebGUI from Log4perl
This commit is contained in:
parent
f22020c267
commit
2bac95fa26
3 changed files with 20 additions and 22 deletions
1
app.psgi
1
app.psgi
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue