1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-24 10:06:08 +02:00

Use facility additional value and not channel to be compat with existing Monolog 3 code

This commit is contained in:
Jordi Boggiano
2022-08-20 15:05:05 +02:00
parent 6bf3b35b80
commit 6a28e9d41a
3 changed files with 6 additions and 6 deletions

View File

@@ -135,7 +135,7 @@ class GelfMessageFormatter extends NormalizerFormatter
unset($extra['file']);
}
} else {
$message->setAdditional('channel', $record['channel']);
$message->setAdditional('facility', $record['channel']);
}
foreach ($extra as $key => $val) {