Rotates an application log files.
Method Summary
-
configure()
-
execute($arguments = array(), $options = array())
-
rotate($app, $env, $period = null, $history = null, $override = false)
Rotates log file.
Methods inherited from sfBaseTask
checkAppExists , checkModuleExists , checkProjectExists , createConfiguration , doRun , getFilesystem , getFirstApplication
log , logSection , setCommandApplication
Methods inherited from sfTask
addArgument , addArguments , addOption , addOptions , ask , askConfirmation , configure , doRun , execute , getAliases , getArguments , getBriefDescription , getDetailedDescription , getFullName , getName , getNamespace , getOptions , getSynopsis , initialize , log , logBlock , logSection , process , run , runFromCLI , strlen , __construct
Method Details
-
-
execute ($arguments = array(), $options = array())
Browse code
-
rotate ($app, $env, $period = null, $history = null, $override = false)
Browse code
| $app |
Application name
|
| $env |
Enviroment name
|
| $period |
Period
|
| $history |
History
|
| $override |
Override
|
Rotates log file.
|