mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
added debug level to start messages
git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@127 8ec27952-4edc-4aab-86aa-e87bb2611832
This commit is contained in:
parent
9f81e3d2ec
commit
fa97d70e79
1 changed files with 4 additions and 3 deletions
|
@ -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 <stvogel@eonerc.rwth-aachen.de>\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);
|
||||
|
|
Loading…
Add table
Reference in a new issue