monolog-bundle icon indicating copy to clipboard operation
monolog-bundle copied to clipboard

SyslogUdpHandler - Allow setting "rfc" parameter

Open gwinn opened this issue 5 years ago • 2 comments

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 avatar Mar 04 '20 14:03 gwinn

Ref PR #343

Tobion avatar Aug 15 '20 12:08 Tobion

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

HontoNoRoger avatar Jan 25 '21 12:01 HontoNoRoger