diff --git a/server/src/server.c b/server/src/server.c index 138c24668..cc992a9c0 100644 --- a/server/src/server.c +++ b/server/src/server.c @@ -113,7 +113,7 @@ static void quit() { stop(); - // TODO: free nodes and paths + /** @todo Free nodes and paths */ config_destroy(&config); @@ -137,13 +137,14 @@ int main(int argc, char *argv[]) if (argc != 2) { printf("Usage: %s CONFIG\n", argv[0]); printf(" CONFIG is a required path to a configuration file\n\n"); - printf("Simulator2Simulator Server %s (%s %s)\n", VERSION, __DATE__, __TIME__); + printf("Simulator2Simulator Server %s (built on %s, %s)\n", BLU(VERSION), MAG(__DATE__), MAG(__TIME__)); printf(" Copyright 2014, Institute for Automation of Complex Power Systems, EONERC\n"); printf(" Steffen Vogel \n"); exit(EXIT_FAILURE); } - info("This is " BLU("s2ss %s"), VERSION); + info("This is %s %s", BLU("s2ss"), BLU(VERSION)); + debug(1, "Running with debug level: %u", V); /* Parse configuration file */ config_init(&config);