summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-27 10:09:21 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:32 -0400
commit4db6d4535f57413eff7ae5a0c9475ae9b4ec4fb4 (patch)
treede2416d7ee12cfeb2c08970d93623faf6007c844 /session.h
parenta85bd282d7868cd1d7b7f166a2e8d2f13abfde13 (diff)
downloadfork-ledger-4db6d4535f57413eff7ae5a0c9475ae9b4ec4fb4.tar.gz
fork-ledger-4db6d4535f57413eff7ae5a0c9475ae9b4ec4fb4.tar.bz2
fork-ledger-4db6d4535f57413eff7ae5a0c9475ae9b4ec4fb4.zip
Beat the timing and tracing code into shape.
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;
}
//