X-Git-Url: https://git.wpitchoune.net/gitweb/?p=prss.git;a=blobdiff_plain;f=src%2Flog.c;h=b4cd3c2812127c68ed34533ff204cbe624608419;hp=3009e5d4d837f8e863f9c7931a342024fdd01f5e;hb=09bcceb88ae4a548c573098fc35a884fe0cc96ad;hpb=09a826a93753ebb1b82fbc30574c034f084e02b8 diff --git a/src/log.c b/src/log.c index 3009e5d..b4cd3c2 100644 --- a/src/log.c +++ b/src/log.c @@ -48,7 +48,7 @@ void log_close() } -#define LOG_BUFFER 128 +#define LOG_BUFFER 512 static void vlogf(int lvl, const char *fmt, va_list ap) { struct timeval tv; @@ -87,7 +87,7 @@ static void vlogf(int lvl, const char *fmt, va_list ap) "[%ld.%06ld] %s %s\n", tv.tv_sec, tv.tv_usec, - lvl_str, + lvl_str, buffer); fflush(file); }