- Timestamp:
- 03/28/13 20:51:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Main.h
r15109 r15177 31 31 ("host", var<string>(), "Address with which the Dim nameserver can connect to this host (overwites DIM_HOST_NODE environment variable)") 32 32 ("log,l", var<string>(n), "Name of local log-file") 33 ("no-log", po_switch(), "Supress log-file") 33 34 ("append-log", po_bool(), "Append log information to local log-file") 34 35 ("null", po_switch(), "Suppresses almost all console output - including errors (only available without --console option)") … … 106 107 } 107 108 108 if (conf.Has("log") )109 if (conf.Has("log") && !conf.Get<bool>("no-log")) 109 110 if (!wout.OpenLogFile(conf.Get<string>("log"), conf.Get<bool>("append-log"))) 110 111 win << kRed << "ERROR - Couldn't open log-file " << conf.Get<string>("log") << ": " << strerror(errno) << endl;
Note:
See TracChangeset
for help on using the changeset viewer.