mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-04 16:05:17 +00:00
[#899] fixed log messages
This commit is contained in:
@@ -990,6 +990,12 @@ Dhcpv4Srv::run_one() {
|
||||
// second.
|
||||
|
||||
} catch (const SignalInterruptOnSelect&) {
|
||||
// Packet reception interrupted because a signal has been received.
|
||||
// This is not an error because we might have received a SIGTERM,
|
||||
// SIGINT, SIGHUP or SIGCHLD which are handled by the server. For
|
||||
// signals that are not handled by the server we rely on the default
|
||||
// behavior of the system.
|
||||
LOG_DEBUG(packet4_logger, DBG_DHCP4_DETAIL, DHCP4_BUFFER_WAIT_SIGNAL);
|
||||
} catch (const std::exception& e) {
|
||||
// Log all other errors.
|
||||
LOG_ERROR(packet4_logger, DHCP4_BUFFER_RECEIVE_FAIL).arg(e.what());
|
||||
|
Reference in New Issue
Block a user