When i add a custom channel in monolog the file not creating and not logging in to file.
my config_dev.yml
debugchannel:
level: debug
type: stream
path: "%kernel.logs_dir%/debug_%kernel.environment%.log"
channels: ['debugchannel']
formatter: application_debug.formatter.debug
The file not creating.