summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/session.h b/session.h
index 2fbdd2a1..d2d52186 100644
--- a/session.h
+++ b/session.h
@@ -165,7 +165,8 @@ 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&) {
- _log_level = LOG_INFO;
+ if (_log_level < LOG_INFO)
+ _log_level = LOG_INFO;
}
//