aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-09-30 19:53:25 +0000
committerRoger Dingledine <arma@torproject.org>2003-09-30 19:53:25 +0000
commitf0e94dab8664db4190a5be048430ee23857b4162 (patch)
treee22b1c9f681d932c6769bd5cc4b557a4246bec11 /src/common
parent01786266caa4b15207f559a10a8759532f4cdf07 (diff)
downloadtor-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.c4
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);