Load logging if asked
This commit is contained in:
parent
0b9da32426
commit
da35ed55f4
|
@ -16,7 +16,11 @@ class PropelBundle extends Bundle
|
|||
}
|
||||
|
||||
\Propel::setConfiguration($this->container->get('propel.configuration'));
|
||||
|
||||
if ($this->container->getParameter('propel.logging')) {
|
||||
\Propel::setLogger($this->container->get('propel.logger'));
|
||||
}
|
||||
|
||||
\Propel::initialize();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue