diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-01-05 18:48:09 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-01-05 18:48:09 +0900 |
| commit | d6000024c0998df64895f2fd4c0f7458ea07a8f3 (patch) | |
| tree | a4fbe349f59a01faf95b5907df74a6814fe25619 /src/main.cc | |
| parent | f019eae5df7955c544e491517c4e1391a3c3f11e (diff) | |
Added --console-log-level option
--console-log-level option sets log level to output to console.
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc index cef784a2..8eb75ed9 100644 --- a/src/main.cc +++ b/src/main.cc @@ -190,6 +190,7 @@ error_code::Value main(int argc, char* argv[]) #endif // ENABLE_BITTORRENT LogFactory::setLogFile(op->get(PREF_LOG)); LogFactory::setLogLevel(op->get(PREF_LOG_LEVEL)); + LogFactory::setConsoleLogLevel(op->get(PREF_CONSOLE_LOG_LEVEL)); if(op->getAsBool(PREF_QUIET)) { LogFactory::setConsoleOutput(false); } |
