From: Michael Tremer Date: Sat, 15 Feb 2025 13:07:17 +0000 (+0000) Subject: build: Print debug messages as well X-Git-Tag: 0.9.30~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cba07c0ac6378fd4b0e3018e2063039ba3d90a32;p=pakfire.git build: Print debug messages as well Signed-off-by: Michael Tremer --- diff --git a/src/cli/lib/build.c b/src/cli/lib/build.c index beb129a9..64ce2a39 100644 --- a/src/cli/lib/build.c +++ b/src/cli/lib/build.c @@ -134,11 +134,6 @@ static void log_callback(void* data, int priority, const char* file, int line, return; switch (priority) { - // Print messages to standard output - case LOG_INFO: - fprintf(stdout, "%s", buffer); - break; - // Highlight any warnings case LOG_WARNING: fputs(color_yellow(), stderr); @@ -152,6 +147,11 @@ static void log_callback(void* data, int priority, const char* file, int line, fprintf(stderr, "%s", buffer); fputs(color_reset(), stderr); break; + + // Print anything to standard output + default: + fprintf(stdout, "%s", buffer); + break; } // Write to the log file