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/network.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/network.c')
-rw-r--r-- | src/util/network.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/network.c b/src/util/network.c index 67f2801c5..c82caafd9 100644 --- a/src/util/network.c +++ b/src/util/network.c | |||
@@ -28,9 +28,9 @@ | |||
28 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
29 | #include "disk.h" | 29 | #include "disk.h" |
30 | 30 | ||
31 | #define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__) | 31 | #define LOG(kind,...) GNUNET_log_from (kind, "util-network", __VA_ARGS__) |
32 | #define LOG_STRERROR_FILE(kind,syscall,filename) GNUNET_log_from_strerror_file (kind, "util", syscall, filename) | 32 | #define LOG_STRERROR_FILE(kind,syscall,filename) GNUNET_log_from_strerror_file (kind, "util-network", syscall, filename) |
33 | #define LOG_STRERROR(kind,syscall) GNUNET_log_from_strerror (kind, "util", syscall) | 33 | #define LOG_STRERROR(kind,syscall) GNUNET_log_from_strerror (kind, "util-network", syscall) |
34 | 34 | ||
35 | #define DEBUG_NETWORK GNUNET_EXTRA_LOGGING | 35 | #define DEBUG_NETWORK GNUNET_EXTRA_LOGGING |
36 | 36 | ||