From 4db6d4535f57413eff7ae5a0c9475ae9b4ec4fb4 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 27 Apr 2007 10:09:21 +0000 Subject: Beat the timing and tracing code into shape. --- session.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'session.h') 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; } // -- cgit v1.2.3