Previously, I talked about creating a custom logging event in order to log into a another file . This post shows how to add a task-specific logger. About logging in tasks In a Symfony task, two logging methods are available : sfTask::log($messages) sfTask::logSection($section, $message, $size = null, $style = ‘INFO’) Both can be called anywhere in your task class : class myownTask extends sfBaseTa