summaryrefslogtreecommitdiffstats
path: root/src/lib/eval
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2018-12-05 23:19:38 +0100
committerFrancis Dupont <fdupont@isc.org>2018-12-06 14:19:34 +0100
commit5658cd9e11b88e5f4784be72e0b192b9aa0aa2ba (patch)
tree33aa8f2dfc16877fdbe156486fc0ebcbb3d9afe3 /src/lib/eval
parent[master] Added ChangeLog entry for #303. (diff)
downloadkea-5658cd9e11b88e5f4784be72e0b192b9aa0aa2ba.tar.xz
kea-5658cd9e11b88e5f4784be72e0b192b9aa0aa2ba.zip
[174-warning-for-unused-trace-levels] Made extern debug levels186-add-kea-netconf-daemon-to-keactrl_base
Diffstat (limited to 'src/lib/eval')
-rw-r--r--src/lib/eval/eval_log.cc5
-rw-r--r--src/lib/eval/eval_log.h6
2 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/eval/eval_log.cc b/src/lib/eval/eval_log.cc
index 6492ad69c7..d9aeffa833 100644
--- a/src/lib/eval/eval_log.cc
+++ b/src/lib/eval/eval_log.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2018 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -13,6 +13,9 @@
namespace isc {
namespace dhcp {
+extern const int EVAL_DBG_TRACE = isc::log::DBGLVL_TRACE_BASIC;
+extern const int EVAL_DBG_STACK = isc::log::DBGLVL_TRACE_DETAIL_DATA;
+
isc::log::Logger eval_logger("eval");
} // namespace dhcp
diff --git a/src/lib/eval/eval_log.h b/src/lib/eval/eval_log.h
index 0b33c43717..566702545f 100644
--- a/src/lib/eval/eval_log.h
+++ b/src/lib/eval/eval_log.h
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2018 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -19,11 +19,11 @@ namespace dhcp {
/// Note that higher numbers equate to more verbose (and detailed) output.
// The first level traces normal operations,
-const int EVAL_DBG_TRACE = isc::log::DBGLVL_TRACE_BASIC;
+extern const int EVAL_DBG_TRACE;
// Additional information on the calls. Report the values that were
// popped from or pushed to the value stack.
-const int EVAL_DBG_STACK = isc::log::DBGLVL_TRACE_DETAIL_DATA;
+extern const int EVAL_DBG_STACK;
/// @brief Eval Logger
///