Left file: appwork-v1_5_2/laravel-starter/config/logging.php  
Right file: appwork-v1_6_0/laravel-starter/config/logging.php  
1 <?php = 1 <?php
2     2  
3 use Monolog\Handler\NullHandler;   3 use Monolog\Handler\NullHandler;
4 use Monolog\Handler\StreamHandler;   4 use Monolog\Handler\StreamHandler;
5 use Monolog\Handler\SyslogUdpHandler;   5 use Monolog\Handler\SyslogUdpHandler;
6     6  
7 return [   7 return [
8     8  
9     /*   9     /*
10     |--------------------------------------------------------------------------   10     |--------------------------------------------------------------------------
11     | Default Log Channel   11     | Default Log Channel
12     |--------------------------------------------------------------------------   12     |--------------------------------------------------------------------------
13     |   13     |
14     | This option defines the default log channel that gets used when writing   14     | This option defines the default log channel that gets used when writing
15     | messages to the logs. The name specified in this option should match   15     | messages to the logs. The name specified in this option should match
16     | one of the channels defined in the "channels" configuration array.   16     | one of the channels defined in the "channels" configuration array.
17     |   17     |
18     */   18     */
19     19  
20     'default' => env('LOG_CHANNEL', 'stack'),   20     'default' => env('LOG_CHANNEL', 'stack'),
21     21  
22     /*   22     /*
23     |--------------------------------------------------------------------------   23     |--------------------------------------------------------------------------
24     | Log Channels   24     | Log Channels
25     |--------------------------------------------------------------------------   25     |--------------------------------------------------------------------------
26     |   26     |
27     | Here you may configure the log channels for your application. Out of   27     | Here you may configure the log channels for your application. Out of
28     | the box, Laravel uses the Monolog PHP logging library. This gives   28     | the box, Laravel uses the Monolog PHP logging library. This gives
29     | you a variety of powerful log handlers / formatters to utilize.   29     | you a variety of powerful log handlers / formatters to utilize.
30     |   30     |
31     | Available Drivers: "single", "daily", "slack", "syslog",   31     | Available Drivers: "single", "daily", "slack", "syslog",
32     |                    "errorlog", "monolog",   32     |                    "errorlog", "monolog",
33     |                    "custom", "stack"   33     |                    "custom", "stack"
34     |   34     |
35     */   35     */
36     36  
37     'channels' => [   37     'channels' => [
38         'stack' => [   38         'stack' => [
39             'driver' => 'stack',   39             'driver' => 'stack',
40             'channels' => ['single'],   40             'channels' => ['single'],
41             'ignore_exceptions' => false,   41             'ignore_exceptions' => false,
42         ],   42         ],
43     43  
44         'single' => [   44         'single' => [
45             'driver' => 'single',   45             'driver' => 'single',
46             'path' => storage_path('logs/laravel.log'),   46             'path' => storage_path('logs/laravel.log'),
47             'level' => 'debug', <> 47             'level' => env('LOG_LEVEL', 'debug'),
48         ], = 48         ],
49     49  
50         'daily' => [   50         'daily' => [
51             'driver' => 'daily',   51             'driver' => 'daily',
52             'path' => storage_path('logs/laravel.log'),   52             'path' => storage_path('logs/laravel.log'),
53             'level' => 'debug', <> 53             'level' => env('LOG_LEVEL', 'debug'),
54             'days' => 14, = 54             'days' => 14,
55         ],   55         ],
56     56  
57         'slack' => [   57         'slack' => [
58             'driver' => 'slack',   58             'driver' => 'slack',
59             'url' => env('LOG_SLACK_WEBHOOK_URL'),   59             'url' => env('LOG_SLACK_WEBHOOK_URL'),
60             'username' => 'Laravel Log',   60             'username' => 'Laravel Log',
61             'emoji' => ':boom:',   61             'emoji' => ':boom:',
62             'level' => 'critical', <> 62             'level' => env('LOG_LEVEL', 'critical'),
63         ], = 63         ],
64     64  
65         'papertrail' => [   65         'papertrail' => [
66             'driver' => 'monolog',   66             'driver' => 'monolog',
67             'level' => 'debug', <> 67             'level' => env('LOG_LEVEL', 'debug'),
68             'handler' => SyslogUdpHandler::class, = 68             'handler' => SyslogUdpHandler::class,
69             'handler_with' => [   69             'handler_with' => [
70                 'host' => env('PAPERTRAIL_URL'),   70                 'host' => env('PAPERTRAIL_URL'),
71                 'port' => env('PAPERTRAIL_PORT'),   71                 'port' => env('PAPERTRAIL_PORT'),
72             ],   72             ],
73         ],   73         ],
74     74  
75         'stderr' => [   75         'stderr' => [
76             'driver' => 'monolog',   76             'driver' => 'monolog',
77             'handler' => StreamHandler::class,   77             'handler' => StreamHandler::class,
78             'formatter' => env('LOG_STDERR_FORMATTER'),   78             'formatter' => env('LOG_STDERR_FORMATTER'),
79             'with' => [   79             'with' => [
80                 'stream' => 'php://stderr',   80                 'stream' => 'php://stderr',
81             ],   81             ],
82         ],   82         ],
83     83  
84         'syslog' => [   84         'syslog' => [
85             'driver' => 'syslog',   85             'driver' => 'syslog',
86             'level' => 'debug', <> 86             'level' => env('LOG_LEVEL', 'debug'),
87         ], = 87         ],
88     88  
89         'errorlog' => [   89         'errorlog' => [
90             'driver' => 'errorlog',   90             'driver' => 'errorlog',
91             'level' => 'debug', <> 91             'level' => env('LOG_LEVEL', 'debug'),
92         ], = 92         ],
93     93  
94         'null' => [   94         'null' => [
95             'driver' => 'monolog',   95             'driver' => 'monolog',
96             'handler' => NullHandler::class,   96             'handler' => NullHandler::class,
97         ],   97         ],
98     98  
99         'emergency' => [   99         'emergency' => [
100             'path' => storage_path('logs/laravel.log'),   100             'path' => storage_path('logs/laravel.log'),
101         ],   101         ],
102     ],   102     ],
103     103  
104 ];   104 ];