protected function registerLogFilename()
    {
        $handlers = $this->app->make('log')->getMonolog()->getHandlers();
        foreach ($handlers as $handler) {
            if (!$handler instanceof RotatingFileHandler) {
                continue;
            }
            $filename = (php_sapi_name() === 'cli') ? 'laravel-cli' : 'laravel';
            $handler->setFilenameFormat($filename . '-{date}', 'Y-m-d');
        }

        return;
    }