Skip to content

Commit c79d340

Browse files
authored
[HttpKernel] Let Monolog create the log folder
1 parent 60ffe2d commit c79d340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ protected function getKernelParameters()
632632
*/
633633
protected function buildContainer()
634634
{
635-
foreach (['cache' => $this->getCacheDir(), 'build' => $this->warmupDir ?: $this->getBuildDir(), 'logs' => $this->getLogDir()] as $name => $dir) {
635+
foreach (['cache' => $this->getCacheDir(), 'build' => $this->warmupDir ?: $this->getBuildDir()] as $name => $dir) {
636636
if (!is_dir($dir)) {
637637
if (false === @mkdir($dir, 0777, true) && !is_dir($dir)) {
638638
throw new \RuntimeException(sprintf('Unable to create the "%s" directory (%s).', $name, $dir));

0 commit comments

Comments
 (0)