Tommi Mäkitalo <tommi@...> writes: > As I said it is very difficult to specify all the options from the > command line. The command line will get very complicated. Not to say > unusable.
That's not true, there are programs which can be configured almost entirely from the command line, MySQL and Unison File Synchronizer for example, they have configuration files but any option in the config is also a command-line option. It is both usable *and* convenient. For logging there can be --logging-rootlogger=$level --logging-logger=$category:$level --logging-file=$path --logging-maxfilesize=$size options, they are simple to understand and implement. Not that I would prever that method, I would actually like to configure the logging using a well-defined C++ API. I configure the Tntnet entirely from the code, using the API, but for logging I has to keep an XML file. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
