summaryrefslogtreecommitdiffstats
path: root/src/lib/process/log_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/process/log_parser.cc')
-rw-r--r--src/lib/process/log_parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/process/log_parser.cc b/src/lib/process/log_parser.cc
index 95acfc8986..daf2653f17 100644
--- a/src/lib/process/log_parser.cc
+++ b/src/lib/process/log_parser.cc
@@ -68,7 +68,7 @@ void LogConfigParser::parseConfigEntry(isc::data::ConstElementPtr entry) {
// Get severity
isc::data::ConstElementPtr severity_ptr = entry->get("severity");
- if (!name_ptr) {
+ if (!severity_ptr) {
isc_throw(BadValue, "loggers entry does not have a mandatory "
"'severity' element (" << entry->getPosition() << ")");
}