diff options
author | Daniel Salzman <daniel.salzman@nic.cz> | 2019-02-26 13:55:11 +0100 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2019-02-28 16:12:12 +0100 |
commit | ce1a69aa5673e5f8f6bd19375deeaafbcfd112c8 (patch) | |
tree | ce81a5581ee5b2573d56c66aece7f74591d3ca20 | |
parent | log: some extensions and cleanup (diff) | |
download | knot-ce1a69aa5673e5f8f6bd19375deeaafbcfd112c8.tar.xz knot-ce1a69aa5673e5f8f6bd19375deeaafbcfd112c8.zip |
refresh: don't log outgoing
-rw-r--r-- | src/knot/events/handlers/refresh.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/knot/events/handlers/refresh.c b/src/knot/events/handlers/refresh.c index 78245a93a..37ac1788b 100644 --- a/src/knot/events/handlers/refresh.c +++ b/src/knot/events/handlers/refresh.c @@ -65,16 +65,13 @@ */ #define REFRESH_LOG(priority, zone, remote, msg...) \ - ns_log(priority, zone, LOG_OPERATION_REFRESH, LOG_DIRECTION_OUT, remote, msg) - -#define _XFRIN_LOG(priority, operation, zone, remote, msg...) \ - ns_log(priority, zone, operation, LOG_DIRECTION_IN, remote, msg) + ns_log(priority, zone, LOG_OPERATION_REFRESH, LOG_DIRECTION_NONE, remote, msg) #define AXFRIN_LOG(priority, zone, remote, msg...) \ - _XFRIN_LOG(priority, LOG_OPERATION_AXFR, zone, remote, msg) + ns_log(priority, zone, LOG_OPERATION_AXFR, LOG_DIRECTION_IN, remote, msg) #define IXFRIN_LOG(priority, zone, remote, msg...) \ - _XFRIN_LOG(priority, LOG_OPERATION_IXFR, zone, remote, msg) + ns_log(priority, zone, LOG_OPERATION_IXFR, LOG_DIRECTION_IN, remote, msg) #define BOOTSTRAP_MAXTIME (24*60*60) #define BOOTSTRAP_JITTER (30) |