protected function generateLogInit($startDir)
    {
        $startTemplatesPath = __DIR__.'/templates/start';

        $startFiles = [
            'local.php',
            'production.php'
        ];

        foreach ($startFiles as $filename)
        {
            $srcPath = "{$startTemplatesPath}/{$filename}";
            $destPath = "{$startDir}/{$filename}";

            if (file_exists($destPath))
            {
                $overwrite = $this->myCommand->confirm(
                    "Overwrite the existing {$destPath} file?", false
                );

                if ( ! $overwrite)
                {
                    continue;
                }

                $this->createBackupFile($destPath);
            }

            copy($srcPath, $destPath);
        }

        $this->myCommand->info('Generated the log initialization files.');
    }