</listitem>
<listitem>
<simpara><command>kea-dhcp4.bad_packet</command> - this is the
- logger used by the DHCPv4 server deamon for logging inbound clien
+ logger used by the DHCPv4 server deamon for logging inbound client
packets that were dropped or to which the server responded with a
NAK. The allows adminstrators to configure a separate log
output that contains only packet drop and reject entries.</simpara>
-// Copyright (C) 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012, 2014-2015 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
const char* DHCP4_APP_LOGGER_NAME = "dhcp4";
const char* DHCP4_BAD_PACKET_LOGGER_NAME = "bad-packet";
-isc::log::Logger dhcp4_logger("dhcp4");
+isc::log::Logger dhcp4_logger(DHCP4_APP_LOGGER_NAME);
isc::log::Logger bad_packet_logger(DHCP4_BAD_PACKET_LOGGER_NAME);
} // namespace dhcp
-// Copyright (C) 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012, 2014-2015 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
will not send a response but will instead ignore the packet.
% DHCP4_PACKET_NAK_0001 failed to select a subnet for incoming packet, src: %1, type: %2
-This warning message is output when a packet was received from a subnet
+This error message is output when a packet was received from a subnet
for which the DHCPv4 server has not been configured. The most probable
cause is a misconfiguration of the server.
// Check if the message from directly connected client (if directly
// connected) should be dropped or processed.
if (!acceptDirectRequest(query)) {
- LOG_INFO(bad_packet_logger, DHCP4_PACKET_DROP_0002)
+ LOG_DEBUG(bad_packet_logger, DBG_DHCP4_DETAIL, DHCP4_PACKET_DROP_0002)
.arg(query->getTransid())
.arg(query->getIface());
return (false);