From f0e94dab8664db4190a5be048430ee23857b4162 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 30 Sep 2003 19:53:25 +0000 Subject: make log use a larger buffer, for easier debugging svn:r515 --- src/common/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/log.c b/src/common/log.c index 09f83d08f..10398305c 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -70,7 +70,7 @@ static INLINE void format_msg(char *buf, size_t buf_len, static void logv(int severity, const char *funcname, const char *format, va_list ap) { - char buf[1024]; + char buf[10024]; int formatted = 0; logfile_t *lf; @@ -89,7 +89,7 @@ logv(int severity, const char *funcname, const char *format, va_list ap) continue; if (!formatted) { - format_msg(buf, 1024, severity, funcname, format, ap); + format_msg(buf, 10024, severity, funcname, format, ap); formatted = 1; } fputs(buf, lf->file); -- cgit v1.2.3