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

SyslogUdpHandler - Allow setting "rfc" parameter #342

Open
gwinn opened this issue Mar 4, 2020 · 2 comments
Open

SyslogUdpHandler - Allow setting "rfc" parameter #342

gwinn opened this issue Mar 4, 2020 · 2 comments

Comments

@gwinn
Copy link

gwinn commented Mar 4, 2020

The SyslogUdpHandler constructor has a last parameter "rfc", default value is "self::RFC5424".
However, the current Monolog Bundle implementation dos not allows to set another value like self::RFC3164.

It will be nice if we can do something like that:

monolog:
    handlers:
        syslog:
            type: syslogudp
            host: 127.0.0.1
            port: 514
            level: error
            ident: app
            rfc: 0
gwinn added a commit to gwinn/monolog-bundle that referenced this issue Mar 4, 2020
@Tobion
Copy link
Member

Tobion commented Aug 15, 2020

Ref PR #343

gwinn added a commit to gwinn/monolog-bundle that referenced this issue Jan 13, 2021
@HontoNoRoger
Copy link

Also highly requested from my side, need it to select RFC5424e (time with miliseconds) for SyslogUDP logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants