moby/daemon/logger/syslog
Joao Trindade a7020454ca
Add options validation to syslog logger test
Adds the following validations to the syslog logger test:

 1. Only supported options are valid
 2. Log option syslog-address has to be a valid URI
 3. Log option syslog-address if is file has to exist
 4. Log option syslog-address if udp/tcp scheme, default to port 513
 5. Log-option syslog-facility has to be a valid facility
 6. Log-option syslog-format has to be a valid format

Signed-off-by: Joao Trindade <trindade.joao@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-12-24 20:43:41 +01:00
..
syslog.go Add zero padding for RFC5424 syslog format 2018-12-08 22:40:02 +00:00
syslog_test.go Add options validation to syslog logger test 2018-12-24 20:43:41 +01:00