Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8996d60

Browse filesBrowse files
sarimGromNaN
authored andcommitted
Add service definition for SyslogFormatter
1 parent c8d9bf0 commit 8996d60
Copy full SHA for 8996d60

File tree

Expand file treeCollapse file tree

2 files changed

+3
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-0
lines changed
Open diff view settings
Collapse file

‎CHANGELOG.md‎

Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* Add `enabled` option to `handlers` configuration
1919
* Add `priority` field to `processor` tag
2020
* Add `mongodb` handler and deprecate `mongo`
21+
* Add `monolog.formatter.syslog` service definition to format RFC5424-compliant messages
2122

2223
## 3.10.0 (2023-11-06)
2324

Collapse file

‎config/monolog.php‎

Copy file name to clipboardExpand all lines: config/monolog.php
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use Monolog\Formatter\LogstashFormatter;
2121
use Monolog\Formatter\NormalizerFormatter;
2222
use Monolog\Formatter\ScalarFormatter;
23+
use Monolog\Formatter\SyslogFormatter;
2324
use Monolog\Formatter\WildfireFormatter;
2425
use Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy;
2526
use Monolog\Logger;
@@ -55,6 +56,7 @@
5556
->set('monolog.formatter.html', HtmlFormatter::class)
5657
->set('monolog.formatter.json', JsonFormatter::class)
5758
->set('monolog.formatter.line', LineFormatter::class)
59+
->set('monolog.formatter.syslog', SyslogFormatter::class)
5860
->set('monolog.formatter.loggly', LogglyFormatter::class)
5961
->set('monolog.formatter.normalizer', NormalizerFormatter::class)
6062
->set('monolog.formatter.scalar', ScalarFormatter::class)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.