diff options
author | tg(x) <*@tg-x.net> | 2017-02-24 20:10:42 +0100 |
---|---|---|
committer | tg(x) <*@tg-x.net> | 2017-02-24 20:10:42 +0100 |
commit | cb1165ecfc5c89c22aa4a6fffb72e27e0bde43a3 (patch) | |
tree | 401701a61ae8245f212364df7b44b228a9f4c225 /src/util/getopt.c | |
parent | 435ef0a62ffe830ccee159f430157cfc8cc6a3d4 (diff) | |
download | gnunet-cb1165ecfc5c89c22aa4a6fffb72e27e0bde43a3.tar.gz gnunet-cb1165ecfc5c89c22aa4a6fffb72e27e0bde43a3.zip |
util: add component name to LOG macros; util/client: log incoming message type/size/source for gnunet-logread
Diffstat (limited to 'src/util/getopt.c')
-rw-r--r-- | src/util/getopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/getopt.c b/src/util/getopt.c index e150496ae..ff62dba9b 100644 --- a/src/util/getopt.c +++ b/src/util/getopt.c | |||
@@ -47,9 +47,9 @@ Copyright Copyright (C) 2006 Christian Grothoff | |||
47 | #endif | 47 | #endif |
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | #define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__) | 50 | #define LOG(kind,...) GNUNET_log_from (kind, "util-getopt", __VA_ARGS__) |
51 | 51 | ||
52 | #define LOG_STRERROR(kind,syscall) GNUNET_log_from_strerror (kind, "util", syscall) | 52 | #define LOG_STRERROR(kind,syscall) GNUNET_log_from_strerror (kind, "util-getopt", syscall) |
53 | 53 | ||
54 | #if defined (WIN32) && !defined (__CYGWIN32__) | 54 | #if defined (WIN32) && !defined (__CYGWIN32__) |
55 | /* It's not Unix, really. See? Capital letters. */ | 55 | /* It's not Unix, really. See? Capital letters. */ |