Skip to content

Commit

Permalink
Merge pull request #16 from Comm-com/development
Browse files Browse the repository at this point in the history
upd
  • Loading branch information
wakirin authored Sep 24, 2024
2 parents 82cc836 + 03438eb commit 9657f5e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions services/ping_prophet/config/logging.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

use Monolog\Formatter\JsonFormatter;
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
Expand Down Expand Up @@ -58,6 +59,14 @@
'ignore_exceptions' => false,
],

'stack_prod' => [
'driver' => 'stack',
'channels' => ['stderr'],
'level' => env('LOG_LEVEL', 'debug'),
'ignore_exceptions' => false,
'formatter' => JsonFormatter::class,
],

'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
Expand Down

0 comments on commit 9657f5e

Please sign in to comment.