<?php

namespace REBELinBLUE\Deployer\Bootstrap;

use Illuminate\Contracts\Foundation\Application;
use Illuminate\Foundation\Bootstrap\ConfigureLogging as BaseLoggingConfiguration;
use Illuminate\Log\Writer;

/**
 * Configure the logging, split the CLI log file with the web log file.
 */
class ConfigureLogging extends BaseLoggingConfiguration
{
    /**
     * Configure the Monolog handlers for the application.
     *
     * @param Application $app
     * @param Writer      $log
     */
    protected function configureSingleHandler(Application $app, Writer $log)
    {
        $fileName = php_sapi_name();
        $log->useFiles(
            $app->storagePath() . '/logs/' . $fileName . '.log',
            $app->make('config')->get('app.log_level', 'debug')
        );
    }

    /**
     * Configure the Monolog handlers for the application.
     *
     * @param Application $app
     * @param Writer      $log
     */
    protected function configureDailyHandler(Application $app, Writer $log)
    {
        $config = $app->make('config');

        $fileName = php_sapi_name();
        $log->useDailyFiles(
            $app->storagePath() . '/logs/' . $fileName . '.log',
            $config->get('app.log_max_files', 5),
            $config->get('app.log_level', 'debug')
        );
    }
}

<?php

namespace REBELinBLUE\Deployer\Bootstrap;

use Illuminate\Contracts\Foundation\Application;
use Illuminate\Foundation\Bootstrap\ConfigureLogging as BaseLoggingConfiguration;
use Illuminate\Log\Writer;

/**
 * Configure the logging, split the CLI log file with the web log file.
 */
class ConfigureLogging extends BaseLoggingConfiguration
{
    /**
     * Configure the Monolog handlers for the application.
     *
     * @param Application $app
     * @param Writer      $log
     */
    protected function configureSingleHandler(Application $app, Writer $log)
    {
        $fileName = php_sapi_name();
        $log->useFiles($app->storagePath() . '/logs/' . $fileName . '.log');
    }

    /**
     * Configure the Monolog handlers for the application.
     *
     * @param Application $app
     * @param Writer      $log
     */
    protected function configureDailyHandler(Application $app, Writer $log)
    {
        $fileName = php_sapi_name();
        $log->useDailyFiles(
            $app->storagePath() . '/logs/' . $fileName . '.log',
            $app->make('config')->get('app.log_max_files', 5)
        );
    }
}

--- 
+++ 
@@ -20,7 +20,10 @@
     protected function configureSingleHandler(Application $app, Writer $log)
     {
         $fileName = php_sapi_name();
-        $log->useFiles($app->storagePath() . '/logs/' . $fileName . '.log');
+        $log->useFiles(
+            $app->storagePath() . '/logs/' . $fileName . '.log',
+            $app->make('config')->get('app.log_level', 'debug')
+        );
     }
 
     /**
@@ -31,10 +34,13 @@
      */
     protected function configureDailyHandler(Application $app, Writer $log)
     {
+        $config = $app->make('config');
+
         $fileName = php_sapi_name();
         $log->useDailyFiles(
             $app->storagePath() . '/logs/' . $fileName . '.log',
-            $app->make('config')->get('app.log_max_files', 5)
+            $config->get('app.log_max_files', 5),
+            $config->get('app.log_level', 'debug')
         );
     }
 }
Configure error logging to use the correct log level
