From 0ad2091a1c1fbe6586e322ef467db20b86f0bb48 Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Mon, 4 Jun 2007 17:09:45 +0000 Subject: - additional commandline option: -l level, --log=level log level for tntnet (values: INFO, DEBUG,...) --- tntconfig.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tntconfig.cpp') diff --git a/tntconfig.cpp b/tntconfig.cpp index 08a037d..b38865c 100644 --- a/tntconfig.cpp +++ b/tntconfig.cpp @@ -73,8 +73,8 @@ void TntConfig::WriteProperties() } // XXX modularize - file << "rootLogger=INFO" << endl; - file << "logger.tntnet=INFO" << endl; + file << "rootLogger=" << LiveSetup().GetTntnetLogLevel() << endl; + file << "logger.tntnet=" << LiveSetup().GetTntnetLogLevel() << endl; } TntConfig const& TntConfig::Get() -- cgit v1.2.3