Commit 0ef1334d authored by Simon Kelley's avatar Simon Kelley

Tweak start-up logging

parent 5eb9dde0
...@@ -714,10 +714,16 @@ int main (int argc, char **argv) ...@@ -714,10 +714,16 @@ int main (int argc, char **argv)
if (daemon->port == 0) if (daemon->port == 0)
my_syslog(LOG_INFO, _("started, version %s DNS disabled"), VERSION); my_syslog(LOG_INFO, _("started, version %s DNS disabled"), VERSION);
else if (daemon->cachesize != 0) else
my_syslog(LOG_INFO, _("started, version %s cachesize %d"), VERSION, daemon->cachesize); {
else if (daemon->cachesize != 0)
my_syslog(LOG_INFO, _("started, version %s cache disabled"), VERSION); my_syslog(LOG_INFO, _("started, version %s cachesize %d"), VERSION, daemon->cachesize);
else
my_syslog(LOG_INFO, _("started, version %s cache disabled"), VERSION);
if (option_bool(OPT_LOCAL_SERVICE))
my_syslog(LOG_INFO, _("DNS service limited to local subnets"));
}
my_syslog(LOG_INFO, _("compile time options: %s"), compile_opts); my_syslog(LOG_INFO, _("compile time options: %s"), compile_opts);
...@@ -731,9 +737,6 @@ int main (int argc, char **argv) ...@@ -731,9 +737,6 @@ int main (int argc, char **argv)
} }
#endif #endif
if (option_bool(OPT_LOCAL_SERVICE))
my_syslog(LOG_INFO, _("DNS service limited to local subnets"));
#ifdef HAVE_DNSSEC #ifdef HAVE_DNSSEC
if (option_bool(OPT_DNSSEC_VALID)) if (option_bool(OPT_DNSSEC_VALID))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment