Rotates an application log files.
Method Summary
-
configure()
@see sfTask
-
execute()
@see sfTask
-
rotate($app, $env, $period, $history, $override)
Rotates log file.
Methods inherited from sfBaseTask
checkAppExists , checkModuleExists , checkProjectExists , createConfiguration , createTask , disablePlugin , doRun , enablePlugin , getFilesystem , getFirstApplication , getPluginManager , initializeAutoload , installDir , reloadAutoload , reloadTasks , replaceTokens , setConfiguration
createTask , getMailer , getRouting , initializeMailer , initializeRouting , log , logSection , runTask , setCommandApplication
Methods inherited from sfTask
addArgument , addArguments , addOption , addOptions , ask , askAndValidate , askConfirmation , asXml , configure , doRun , execute , getAliases , getArguments , getBriefDescription , getDetailedDescription , getFormatter , getFullName , getName , getNamespace , getOptions , getSynopsis , initialize , log , logBlock , logSection , process , run , runFromCLI , setFormatter , strlen , __construct
Method Details
-
@see sfTask
-
@see sfTask
-
rotate ($app, $env, $period, $history, $override)
Browse code
| $app |
Application name |
| $env |
Enviroment name |
| $period |
Period |
| $history |
History |
| $override |
Override |
Rotates log file.
|