git » nmdb » commit 0a81b54

Log a simple message when starting up

author Alberto Bertogli
2008-06-01 04:10:26 UTC
committer Alberto Bertogli
2008-06-01 04:10:26 UTC
parent 0f2ab7ed06e00858b0ab7226ce15dc527372719b

Log a simple message when starting up

Logging a startup message makes start/stop tracking in logs much easier.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

nmdb/main.c +2 -0

diff --git a/nmdb/main.c b/nmdb/main.c
index 0d3d472..2c8d29f 100644
--- a/nmdb/main.c
+++ b/nmdb/main.c
@@ -205,6 +205,8 @@ int main(int argc, char **argv)
 		setsid();
 	}
 
+	wlog("Starting nmdb\n");
+
 	dbthread = db_loop_start(db);
 
 	net_loop();