2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

[master] Emit log messages when the server is stable

Emit a log message when the server had completed initialization
and is about to start dispatching.  And emit log messages when
both peers in a failover pair have reached the normal state.
This commit is contained in:
Shawn Routhier
2013-11-08 12:29:20 -08:00
parent cde11a4cdb
commit f88446f16b
5 changed files with 80 additions and 40 deletions

View File

@@ -785,6 +785,9 @@ main(int argc, char **argv) {
signal(SIGINT, dhcp_signal_handler); /* control-c */
signal(SIGTERM, dhcp_signal_handler); /* kill */
/* Log that we are about to start working */
log_info("Server starting service.");
/*
* Receive packets and dispatch them...
* dispatch() will return only when we are shutting down.