mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
a7020454ca
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> |
||
---|---|---|
.. | ||
syslog.go | ||
syslog_test.go |