diff options
-rw-r--r-- | src/session.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h index 40fb5c4a..8b72ae42 100644 --- a/src/session.h +++ b/src/session.h @@ -194,8 +194,10 @@ class session_t : public xml::xpath_t::scope_t void option_debug(value_t&, xml::xpath_t::scope_t * locals) {} void option_verbose(value_t&) { +#if defined(LOGGING_ON) if (_log_level < LOG_INFO) _log_level = LOG_INFO; +#endif } // |