diff options
author | Roger Dingledine <arma@torproject.org> | 2003-09-30 19:53:25 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-09-30 19:53:25 +0000 |
commit | f0e94dab8664db4190a5be048430ee23857b4162 (patch) | |
tree | e22b1c9f681d932c6769bd5cc4b557a4246bec11 /src/common | |
parent | 01786266caa4b15207f559a10a8759532f4cdf07 (diff) | |
download | tor-f0e94dab8664db4190a5be048430ee23857b4162.tar tor-f0e94dab8664db4190a5be048430ee23857b4162.tar.gz |
make log use a larger buffer, for easier debugging
svn:r515
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |