symfony API

sfLogRotateTask Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.4 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.4 version. Switch to:

Rotates an application log files.

Inheritence

sfLogRotateTask  <  sfBaseTask < sfCommandApplicationTask < sfTask

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

Methods inherited from sfCommandApplicationTask

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

  • configure () Browse code

    @see sfTask

  • execute () Browse code

    @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.