From: Michael Tremer Date: Thu, 2 Oct 2025 10:51:23 +0000 (+0000) Subject: graph: Log the size of the generated output X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a1be9eb93fcd3006097ba19e3aa942ab03c8087;p=collecty.git graph: Log the size of the generated output Signed-off-by: Michael Tremer --- 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);