[Spice-devel] spice-server, logging and style

Christophe Fergeau cfergeau at redhat.com
Wed Nov 4 01:20:18 PST 2015


On Tue, Nov 03, 2015 at 08:15:14AM -0500, Frediano Ziglio wrote:
> Personal considerations:
> - although is sometimes useful to have errors reported to detect problems
>   we should consider we should consider that too logging can cause DoS
>   due to disk consumption, slow down (there are some checks on hot paths
>   like Quic or Lz). On Linux kernel there are macros like WARN_ONCE to
>   detect problems but limit the logging. We could use something like this;

Related to the "disk consumption" concern,
https://www.redhat.com/archives/libvir-list/2015-November/msg00085.html
was coincidentally sent yesterday to the libvirt mailing list.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20151104/2a43f20f/attachment.sig>


More information about the Spice-devel mailing list