From 852ce3e32fd52b2ecb3256002dd82c1f530210a0 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 8 Apr 2017 18:02:16 +0200 Subject: [PATCH] Remove unused classes. --- app/Bootstrap/ConfigureLogging.php | 63 ------------------------------ app/Console/Kernel.php | 1 - 2 files changed, 64 deletions(-) delete mode 100644 app/Bootstrap/ConfigureLogging.php diff --git a/app/Bootstrap/ConfigureLogging.php b/app/Bootstrap/ConfigureLogging.php deleted file mode 100644 index 03b704d0f2..0000000000 --- a/app/Bootstrap/ConfigureLogging.php +++ /dev/null @@ -1,63 +0,0 @@ -make('config'); - - $maxFiles = $config->get('app.log_max_files'); - - $log->useDailyFiles( - $app->storagePath() . '/logs/firefly-iii.log', is_null($maxFiles) ? 5 : $maxFiles, - $config->get('app.log_level', 'debug') - ); - } - - /** - * Configure the Monolog handlers for the application. - * - * @param \Illuminate\Contracts\Foundation\Application $app - * @param \Illuminate\Log\Writer $log - * - * @return void - */ - protected function configureSingleHandler(Application $app, Writer $log) - { - $log->useFiles( - $app->storagePath() . '/logs/firefly-iii.log', - $app->make('config')->get('app.log_level', 'debug') - ); - } -} diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index f4a1e32559..2b5ccd9aca 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -41,7 +41,6 @@ class Kernel extends ConsoleKernel = [ 'Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', - //'FireflyIII\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\SetRequestForConsole',