I've configured a seperate channel for some messages according to the cookbook:
special:
type: stream
path: %kernel.logs_dir%/special.log
channels: ["special"]
And getting a service to log to that is easy. But I also have $this->get('logger')->info("some info message"); statements in my controllers.
How do I teach them to log to this channel instead of the main logfile? The documentation is silent on this, only explains how to redirect services. Looking through the Logger.php didn't reveal any obvious parameter, either.