монолога:
monolog:
handlers:
consumer:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.consumer.log"
level: info
channels: ['consumer']
main:
type: fingers_crossed
action_level: error
handler: nested
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
console:
type: console
При сборке такая ошибка:
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Invalid configuration for path "monolog.handlers.main": Warning: count(): Parameter must be an array or an object that implements Countable
[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: count(): Parameter must be an array or an object that implements Countable
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Invalid configuration for path "monolog.handlers.main": Warning: count(): Parameter must be an array or an object that implements Countable
[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: count(): Parameter must be an array or an object that implements Countable
Что тут надо массивом сделать?
https://github.com/zikula/core/issues/3906
Обсуждают сегодня