[Spice-devel] [PATCH spice] Remove excessive logging of an area being drawn

Lukáš Hrázký lhrazky at redhat.com
Wed Jun 6 14:34:10 UTC 2018


Removes debug messages that are logged on every draw, spamming the log
excessively when debugging.

Signed-off-by: Lukáš Hrázký <lhrazky at redhat.com>
---
 server/display-channel.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/server/display-channel.c b/server/display-channel.c
index 229f2c0f..b74c1e95 100644
--- a/server/display-channel.c
+++ b/server/display-channel.c
@@ -1989,9 +1989,6 @@ void display_channel_draw(DisplayChannel *display, const SpiceRect *area, int su
     RedSurface *surface;
     Drawable *last;
 
-    spice_debug("surface %d: area ==>", surface_id);
-    rect_debug(area);
-
     spice_return_if_fail(surface_id >= 0 && surface_id < NUM_SURFACES);
     spice_return_if_fail(area);
     spice_return_if_fail(area->left >= 0 && area->top >= 0 &&
-- 
2.17.1



More information about the Spice-devel mailing list