diff --git a/comanage-match-base/comanage_match_console_logging.patch b/comanage-match-base/comanage_match_console_logging.patch index c8e59e1..e72efb2 100644 --- a/comanage-match-base/comanage_match_console_logging.patch +++ b/comanage-match-base/comanage_match_console_logging.patch @@ -1,36 +1,42 @@ ---- app.php.original 2019-05-18 06:27:49.677219272 -0500 -+++ app.php 2019-05-18 06:36:53.873233082 -0500 -@@ -318,27 +318,21 @@ +--- app.php.original 2021-10-15 15:34:52.145539673 +0000 ++++ app.php 2021-10-15 15:33:22.991530882 +0000 +@@ -29,7 +29,7 @@ + use Cake\Database\Connection; + use Cake\Database\Driver\Mysql; + use Cake\Error\ExceptionRenderer; +-use Cake\Log\Engine\FileLog; ++use Cake\Log\Engine\ConsoleLog; + use Cake\Mailer\Transport\MailTransport; + + return [ +@@ -367,27 +367,18 @@ */ 'Log' => [ 'debug' => [ -- 'className' => 'Cake\Log\Engine\FileLog', +- 'className' => FileLog::class, - 'path' => LOGS, - 'file' => 'debug', - 'url' => env('LOG_DEBUG_URL', null), -+ 'className' => 'Cake\Log\Engine\ConsoleLog', -+ 'stream' => '/dev/stdout', ++ 'className' => ConsoleLog::class, 'scopes' => false, 'levels' => ['notice', 'info', 'debug'], ], 'error' => [ -- 'className' => 'Cake\Log\Engine\FileLog', +- 'className' => FileLog::class, - 'path' => LOGS, - 'file' => 'error', - 'url' => env('LOG_ERROR_URL', null), -+ 'className' => 'Cake\Log\Engine\ConsoleLog', -+ 'stream' => '/dev/stdout', ++ 'className' => ConsoleLog::class, 'scopes' => false, 'levels' => ['warning', 'error', 'critical', 'alert', 'emergency'], ], // To enable this dedicated query log, you need set your datasource's log flag to true 'queries' => [ -- 'className' => 'Cake\Log\Engine\FileLog', +- 'className' => FileLog::class, - 'path' => LOGS, - 'file' => 'queries', - 'url' => env('LOG_QUERIES_URL', null), -+ 'className' => 'Cake\Log\Engine\ConsoleLog', -+ 'stream' => '/dev/stdout', ++ 'className' => ConsoleLog::class, 'scopes' => ['queriesLog'], ], ],