Index: /trunk/FACT++/src/Main.h
===================================================================
--- /trunk/FACT++/src/Main.h	(revision 11944)
+++ /trunk/FACT++/src/Main.h	(revision 11945)
@@ -17,12 +17,13 @@
         po::options_description config("Program options");
         config.add_options()
-            ("dns",       var<string>("localhost"),       "Dim nameserver (overwites DIM_DNS_NODE environment variable)")
-            ("host",      var<string>(""),                "Address with which the Dim nameserver can connect to this host (overwites DIM_HOST_NODE environment variable)")
-            ("log,l",     var<string>(n), "Write log-file")
-            ("null",      po_switch(),    "Suppresses almost all console output - including errors (only available without --console option)")
-            ("console,c", var<int>(),     "Use console (0=shell, 1=simple buffered, X=simple unbuffered)")
-            ("cmd",       vars<string>(), "Execute one or more commands at startup")
-            ("exec,e",    vars<string>(), "Execute one or more scrips at startup")
-            ("quit",      po_switch(),    "Quit after startup");
+            ("dns",        var<string>("localhost"),       "Dim nameserver (overwites DIM_DNS_NODE environment variable)")
+            ("host",       var<string>(""),                "Address with which the Dim nameserver can connect to this host (overwites DIM_HOST_NODE environment variable)")
+            ("log,l",      var<string>(n), "Name of local log-file")
+            ("append-log", po_bool(),      "Append log information to local log-file")
+            ("null",       po_switch(),    "Suppresses almost all console output - including errors (only available without --console option)")
+            ("console,c",  var<int>(),     "Use console (0=shell, 1=simple buffered, X=simple unbuffered)")
+            ("cmd",        vars<string>(), "Execute one or more commands at startup")
+            ("exec,e",     vars<string>(), "Execute one or more scrips at startup")
+            ("quit",       po_switch(),    "Quit after startup");
         ;
 
@@ -68,5 +69,5 @@
 
         if (conf.Has("log"))
-            if (!wout.OpenLogFile(conf.Get<string>("log")))
+            if (!wout.OpenLogFile(conf.Get<string>("log"), conf.Get<bool>("append-log")))
                 win << kRed << "ERROR - Couldn't open log-file " << conf.Get<string>("log") << ": " << strerror(errno) << endl;
 
