Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for configuring Gelf encoders in Monolog configuration #492

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update GELF config documentation for clarity
  • Loading branch information
Tibor Rac committed Feb 9, 2025
commit 5a5eb67301e5614e534ad1cca4fc392af899d99e
19 changes: 11 additions & 8 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,17 @@
* - [bubble]: bool, defaults to true
*
* - gelf:
* - publisher:
* - id: string, service id of a publisher implementation, optional if hostname is given
* - hostname: string, optional if id is given
* - [port]: int, defaults to 12201
* - [chunk_size]: int, defaults to 1420
* - [encoder]: string, its value can be 'json' or 'compressed_json'
* - [level]: level name or int value, defaults to DEBUG
* - [bubble]: bool, defaults to true
* - publisher: (one of the following configurations)
* # Option 1: Service-based configuration
* - id: string, service id of a publisher implementation
*
* # Option 2: Direct connection configuration
* - hostname: string, server hostname
* - [port]: int, server port (default: 12201)
* - [chunk_size]: int, UDP packet size (default: 1420)
* - [encoder]: string, encoding format ('json' or 'compressed_json')
* - [level]: level name or int value, defaults to DEBUG
* - [bubble]: bool, defaults to true
*
* - chromephp:
* - [level]: level name or int value, defaults to DEBUG
Expand Down
Loading