diff options
author | XTZGZoReX <none@none> | 2009-03-21 12:13:32 +0100 |
---|---|---|
committer | XTZGZoReX <none@none> | 2009-03-21 12:13:32 +0100 |
commit | f1b680826beca724aecd43caab8a794b27f9aaac (patch) | |
tree | 456c7492c5b3fdbac33cfa78ee09c5b04a2bc0e5 /src/shared/Log.cpp | |
parent | 79d27da9ec11390c22ea894f8457818aec2f921c (diff) |
* Minor fix for DB log levels.
--HG--
branch : trunk
Diffstat (limited to 'src/shared/Log.cpp')
-rw-r--r-- | src/shared/Log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/Log.cpp b/src/shared/Log.cpp index 90b3a27b05d..0b2bef26dfe 100644 --- a/src/shared/Log.cpp +++ b/src/shared/Log.cpp @@ -541,7 +541,7 @@ void Log::outDetail( const char * str, ... ) if( !str ) return; - if (m_enableLogDB && m_dbLogLevel >= LOGL_BASIC) + if (m_enableLogDB && m_dbLogLevel > LOGL_BASIC) { va_list ap2; va_start(ap2, str); @@ -600,7 +600,7 @@ void Log::outDebug( const char * str, ... ) if( !str ) return; - if (m_enableLogDB && m_dbLogLevel >= LOGL_DETAIL) + if (m_enableLogDB && m_dbLogLevel > LOGL_DETAIL) { va_list ap2; va_start(ap2, str); |