original_string: public function getCronLogfile()
      {
          if (! ($this->offsetExists('cron') && isset($this->cron['logfile']))) {
              return null;
          }
  
          $file = trim($this->cron['logfile']);
          if (\MUtil_File::isRootPath($file)) {
              return $file;
          }
          return GEMS_ROOT_DIR . '/var/logs/' . $file;
      }
code: public function getCronLogfile()
      {
          if (! ($this->offsetExists('cron') && isset($this->cron['logfile']))) {
              return null;
          }
  
          $file = trim($this->cron['logfile']);
          if (\MUtil_File::isRootPath($file)) {
              return $file;
          }
          return GEMS_ROOT_DIR . '/var/logs/' . $file;
      }
code_tokens: public function getCronLogfile ( ) { if ( ! ( $ this -> offsetExists ( 'cron' ) && isset ( $ this -> cron [ 'logfile' ] ) ) ) { return null ; } $ file = trim ( $ this -> cron [ 'logfile' ] ) ; if ( \ MUtil_File :: isRootPath ( $ file ) ) { return $ file ; } return GEMS_ROOT_DIR . '/var/logs/' . $ file ; }
docstring: The logfile for cron jobs
  
  @return string
docstring_tokens: The logfile for cron jobs