From 0f3491baa7bd0ffc20700e0b5732b723486116d0 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 20 Apr 2012 17:46:27 +0000 Subject: [PATCH] - client: add log flag svn path=/trunk/boinc/; revision=25585 --- checkin_notes | 6 ++++++ lib/cc_config.cpp | 3 +++ lib/cc_config.h | 2 ++ 3 files changed, 11 insertions(+) diff --git a/checkin_notes b/checkin_notes index b2e9eba665..5a39391e65 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3405,3 +3405,9 @@ David 20 Apr 2012 process_input_template.cpp dir_hier_path.cpp create_work.cpp + +David 20 Apr 2012 + - client: add log flag + + lib/ + cc_config.cpp,h diff --git a/lib/cc_config.cpp b/lib/cc_config.cpp index 0e96bacfa9..e131b0249b 100644 --- a/lib/cc_config.cpp +++ b/lib/cc_config.cpp @@ -89,6 +89,7 @@ int LOG_FLAGS::parse(XML_PARSER& xp) { if (xp.parse_bool("slot_debug", slot_debug)) continue; if (xp.parse_bool("state_debug", state_debug)) continue; if (xp.parse_bool("statefile_debug", statefile_debug)) continue; + if (xp.parse_bool("suspend_debug", suspend_debug)) continue; if (xp.parse_bool("task_debug", task_debug)) continue; if (xp.parse_bool("time_debug", time_debug)) continue; if (xp.parse_bool("trickle_debug", trickle_debug)) continue; @@ -134,6 +135,7 @@ int LOG_FLAGS::write(MIOFILE& out) { " %d\n" " %d\n" " %d\n" + " %d\n" " %d\n" " %d\n" " %d\n" @@ -172,6 +174,7 @@ int LOG_FLAGS::write(MIOFILE& out) { slot_debug ? 1 : 0, state_debug ? 1 : 0, statefile_debug ? 1 : 0, + suspend_debug ? 1 : 0, task_debug ? 1 : 0, time_debug ? 1 : 0, trickle_debug ? 1 : 0, diff --git a/lib/cc_config.h b/lib/cc_config.h index 5d62da1c2f..a358c1371a 100644 --- a/lib/cc_config.h +++ b/lib/cc_config.h @@ -99,6 +99,8 @@ struct LOG_FLAGS { // also show actions of garbage collector bool statefile_debug; // show when and why state file is written + bool suspend_debug; + // details of processing and network suspend/resume bool task_debug; // task start and control details, and when apps checkpoint bool time_debug;