From 0a1be9eb93fcd3006097ba19e3aa942ab03c8087 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 2 Oct 2025 10:51:23 +0000 Subject: [PATCH] graph: Log the size of the generated output Signed-off-by: Michael Tremer --- src/daemon/graph.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/daemon/graph.c b/src/daemon/graph.c index 698a0b1..ab4eea6 100644 --- a/src/daemon/graph.c +++ b/src/daemon/graph.c @@ -230,6 +230,7 @@ int collecty_graph_render(collecty_graph* self, // Log action DEBUG(self->ctx, "Rendered graph %s:\n", collecty_graph_get_name(self)); + DEBUG(self->ctx, " size : %d byte(s)\n", ftell(f)); DEBUG(self->ctx, " width : %d\n", w); DEBUG(self->ctx, " height : %d\n", h); DEBUG(self->ctx, " ymin : %.2f\n", ymin); -- 2.47.3