]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetserver: Raise log level of max_clients related messages
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 25 Sep 2014 09:50:04 +0000 (11:50 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 25 Sep 2014 11:45:29 +0000 (13:45 +0200)
commitcb5de6552e1fb0e1cd119f7532e7c4dc9f424f56
treefd28ae82ebba17765e656464e1ca29f5c8f14bef
parentc4b4b13ccb3129d605cca9245f94cb7ebffb0d51
virnetserver: Raise log level of max_clients related messages

We have these configuration knobs, like max_clients and
max_anonymous_clients. They limit the number of clients
connected.  Whenever the limit is reached, the daemon stops
accepting new ones and resumes if one of the connected clients
disconnects. If that's the case, a debug message is printed into
the logs. And when the daemon starts over to accept new clients
too. However, the problem is the messages have debug priority.
This may be unfortunate, because if the daemon stops accepting
new clients all of a sudden, and users don't have debug logs
enabled they have no idea what's going on. Raise the messages
level to INFO at least.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/rpc/virnetserver.c