Always set DBIC_TRACE_PROFILE=console

This commit is contained in:
Oliver Gorwits
2014-08-08 21:37:15 +01:00
parent 0f2fadcede
commit 1f73f061f7
4 changed files with 7 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ $CONFIG->{log} = ($debug ? 'debug' : 'info');
$ENV{INFO_TRACE} = $infotrace;
$ENV{SNMP_TRACE} = $snmptrace;
$ENV{DBIC_TRACE} = $sqltrace; $ENV{DBIC_TRACE_PROFILE} = 'console';
$ENV{DBIC_TRACE} = $sqltrace;
# reconfigure logging to force console output
Dancer::Logger->init('console', $CONFIG);