Skip to content
Snippets Groups Projects
Commit c96d74cf authored by a.croix's avatar a.croix
Browse files

Change default log channel

parent 875b3605
No related branches found
No related tags found
1 merge request!1Include Wowa Training
Pipeline #5784 passed
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
namespace App\Jobs; namespace App\Jobs;
use App\Feedback; use App\Feedback;
use App\Log;
use App\Mark; use App\Mark;
use App\Wowa; use App\Wowa;
use Illuminate\Bus\Queueable; use Illuminate\Bus\Queueable;
......
...@@ -23,5 +23,7 @@ class LogFormatter extends NormalizerFormatter ...@@ -23,5 +23,7 @@ class LogFormatter extends NormalizerFormatter
$el = $record['extra']; $el = $record['extra'];
$el['level'] = strtolower($record['level_name']); $el['level'] = strtolower($record['level_name']);
$el['message'] = $record['message']; $el['message'] = $record['message'];
return $el;
} }
} }
...@@ -42,7 +42,7 @@ return [ ...@@ -42,7 +42,7 @@ return [
], ],
'training_logger' => [ 'training_logger' => [
'driver' => 'custom', 'driver' => 'custom',
'via' => App\JobLog::class, 'via' => App\Log::class,
], ],
'single' => [ 'single' => [
......
...@@ -4,7 +4,7 @@ APP_KEY=base64:42cUpwYMEYjS3fifEDm2RN2kjmNtnPHm1tZPMblKGIw= ...@@ -4,7 +4,7 @@ APP_KEY=base64:42cUpwYMEYjS3fifEDm2RN2kjmNtnPHm1tZPMblKGIw=
APP_DEBUG=true APP_DEBUG=true
APP_URL=http://localhost:8000 APP_URL=http://localhost:8000
LOG_CHANNEL=stack LOG_CHANNEL=custom
DB_CONNECTION=sqlite DB_CONNECTION=sqlite
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment