protected function getFilePath($level = 100)
    {
        $filename = $this->getFileName($level);
        $filext = '.'.trim($this->logfile_extension, '.');
        $filename = str_replace($filext, '', $filename) . $filext;
        return rtrim($this->directory, '/') . '/' . $filename;
    }