diff --git a/src/common/log.cpp b/src/common/log.cpp index 03267bf2d3..25016cd325 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -239,7 +239,14 @@ void WXDLLEXPORT wxLogSysError(long lErrCode, const char *szFormat, ...) wxLog::wxLog() { m_bHasMessages = FALSE; - m_bVerbose = FALSE; + + // enable verbose messages by default in the debug builds +#ifdef __WXDEBUG__ + m_bVerbose = TRUE; +#else // release + m_bVerbose = FALSE; +#endif // debug/release + m_szTimeFormat = "[%d/%b/%y %H:%M:%S] "; }