From 0b6b57f9acaa2ec648bf582ff67851331f8e6eef Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 14 Mar 2016 14:38:45 +0300 Subject: Use serializable transaction isolation level --- brep/module.cxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'brep/module.cxx') diff --git a/brep/module.cxx b/brep/module.cxx index 1257d82..40acad9 100644 --- a/brep/module.cxx +++ b/brep/module.cxx @@ -201,7 +201,9 @@ namespace brep // Read brep::module configuration. // - static option_descriptions od (convert (options::module::description ())); + static option_descriptions od ( + convert (options::module::description ())); + name_values mo (filter (opts, od)); name_value_scanner s (mo); options::module o (s, cli::unknown_mode::fail, cli::unknown_mode::fail); @@ -311,7 +313,12 @@ namespace brep // Considered using lambda for mapping but looks too verbose while can // be a bit safer in runtime. // - static int s[] = {APLOG_ERR, APLOG_WARNING, APLOG_INFO, APLOG_TRACE1}; + // Use APLOG_INFO (as opposed to APLOG_TRACE1) as a mapping for + // severity::trace. "LogLevel trace1" configuration directive switches + // on the avalanche of log messages from various modules. Would be good + // to avoid wading through them. + // + static int s[] = {APLOG_ERR, APLOG_WARNING, APLOG_INFO, APLOG_INFO}; for (const auto& e: d) { -- cgit v1.1