aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-09-12 00:10:07 +0200
committerGeorge Kadianakis <desnacked@gmail.com>2011-09-12 00:10:07 +0200
commit2e73f9b3eeb37d0307197e48ed62e1def40e44a8 (patch)
tree894c3bc5335df517497169de6d6fd7dc7bbb317b /src/common/util.c
parentd0416ce3ec67ca87448153c8b2416dd7901013c6 (diff)
downloadtor-2e73f9b3eeb37d0307197e48ed62e1def40e44a8.tar.gz
tor-2e73f9b3eeb37d0307197e48ed62e1def40e44a8.zip
Put some sense into our logging.
Transform our logging severities to something more sensible. Remove sneaky printf()s.
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 502840bc3e..4a66e93537 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -3230,7 +3230,7 @@ get_string_from_pipe(FILE *stream, char *buf_out, size_t count)
} else {
/* No newline; check whether we overflowed the buffer */
if (!feof(stream))
- log_warn(LD_GENERAL,
+ log_info(LD_GENERAL,
"Line from stream was truncated: %s", buf_out);
/* TODO: What to do with this error? */
}