libvirt/src/logging
Peter Krempa f0803dae93 (log|lock)daemon: Don't spam logs with IO error messages after client disconnects
The log and lock protocol don't have an extra handshake to close the
connection. Instead they just close the socket. Unfortunately that
resulted into a lot of spurious garbage logged to the system log files:

2017-03-17 14:00:09.730+0000: 4714: error : virNetSocketReadWire:1800 : End of file while reading data: Input/output error

or in the journal as:

Mar 13 16:19:33 xxxx virtlogd[32360]: End of file while reading data: Input/output error

Use the new facility in the netserverclient to suppress the IO error
report from the virNetSocket layer.
2017-03-17 17:20:22 +01:00
..
log_daemon_config.c log: Fix loading of conf file for log daemon 2016-12-14 07:24:24 +01:00
log_daemon_config.h virtlogd: convert to typedef virConf accessors 2016-07-12 09:58:21 +01:00
log_daemon_dispatch.c log: daemon: Add remote protocol handling for the log appending API 2016-06-07 18:10:29 +02:00
log_daemon_dispatch.h
log_daemon.c (log|lock)daemon: Don't spam logs with IO error messages after client disconnects 2017-03-17 17:20:22 +01:00
log_daemon.h logging: avoid variables called 'daemon' due to function clash 2015-11-27 09:27:53 +00:00
log_handler.c virtlogd: make max file size & number of backups configurable 2016-07-07 15:08:54 +01:00
log_handler.h virtlogd: make max file size & number of backups configurable 2016-07-07 15:08:54 +01:00
log_manager.c log: daemon: Add remote protocol handling for the log appending API 2016-06-07 18:10:29 +02:00
log_manager.h log: daemon: Add remote protocol handling for the log appending API 2016-06-07 18:10:29 +02:00
log_protocol.x log: daemon: Add remote protocol handling for the log appending API 2016-06-07 18:10:29 +02:00
test_virtlogd.aug.in virtlogd: make max file size & number of backups configurable 2016-07-07 15:08:54 +01:00
virtlogd.aug virtlogd: make max file size & number of backups configurable 2016-07-07 15:08:54 +01:00
virtlogd.conf virtlogd: increase max file size to 2 MB 2016-07-07 15:08:54 +01:00
virtlogd.init.in Fix LSB requirements in service script and sync them 2016-01-11 15:49:13 +01:00
virtlogd.pod man: Fix SYNOPSIS section 2016-04-25 15:40:44 +02:00
virtlogd.service.in Increase default file handle limits for daemons 2017-03-16 10:48:09 +00:00
virtlogd.socket.in virtlogd: Don't stop or restart along with libvirtd 2016-09-20 15:22:04 +02:00
virtlogd.sysconf