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