]> granicus.if.org Git - pdns/commitdiff
ixfrdist: move start-up message up
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 16 May 2018 13:46:02 +0000 (15:46 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 16 May 2018 13:46:02 +0000 (15:46 +0200)
pdns/ixfrdist.cc

index 9075c1692eddab77c3d0326b2d231ddb7ba0f595..10e01fa883a5b6f5d15671c8ccbbe857bf85cae4 100644 (file)
@@ -936,6 +936,8 @@ int main(int argc, char** argv) {
     g_log.toConsole(Logger::Debug);
   }
 
+  g_log<<Logger::Notice<<"IXFR distributor version "<<VERSION<<" starting up!"<<endl;
+
   YAML::Node config;
   if (!parseAndCheckConfig(g_vm["config"].as<string>(), config)) {
     // parseAndCheckConfig already logged whatever was wrong
@@ -1058,8 +1060,6 @@ int main(int argc, char** argv) {
   // TODO read from urandom (perhaps getrandom(2)?
   dns_random_init("0123456789abcdef");
 
-  g_log<<Logger::Notice<<"IXFR distributor starting up!"<<endl;
-
   std::thread ut(updateThread,
       config["work-dir"].as<string>(),
       config["keep"].as<uint16_t>(),