Using dynamic parameter for logDir creates directory named "$this->parameters['logDir']" in CWD
MartinMystikJonas opened this issue · 0 comments
MartinMystikJonas commented
Using container dynamic parameters to set parameter 'logDir' causes creation of directory '$this->parameters['logDir']' in CWD.
Directory is created here because parameter $logDir is object PhpLiteral (reference to dynamic parameter) not string with path:
Monolog/src/DI/MonologExtension.php
Line 248 in f0cea68
Is there reason dirctory is created by DIExtension? Would not it be better to move it to runtime?