From 4fbac176470dcf3e6d3ce88a5c8bd62614600ffa Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 13 Mar 2013 14:26:02 -0700 Subject: [PATCH] - client: alphabetize log flags --- client/log_flags.cpp | 4 ++-- lib/cc_config.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/log_flags.cpp b/client/log_flags.cpp index 22e312af53..735cd38e19 100644 --- a/client/log_flags.cpp +++ b/client/log_flags.cpp @@ -81,7 +81,6 @@ void LOG_FLAGS::show() { show_flag(buf, cpu_sched_debug, "cpu_sched_debug"); show_flag(buf, cpu_sched_status, "cpu_sched_status"); show_flag(buf, dcf_debug, "dcf_debug"); - show_flag(buf, priority_debug, "priority_debug"); show_flag(buf, file_xfer_debug, "file_xfer_debug"); show_flag(buf, gui_rpc_debug, "gui_rpc_debug"); show_flag(buf, heartbeat_debug, "heartbeat_debug"); @@ -89,7 +88,9 @@ void LOG_FLAGS::show() { show_flag(buf, http_xfer_debug, "http_xfer_debug"); show_flag(buf, mem_usage_debug, "mem_usage_debug"); show_flag(buf, network_status_debug, "network_status_debug"); + show_flag(buf, notice_debug, "notice_debug"); show_flag(buf, poll_debug, "poll_debug"); + show_flag(buf, priority_debug, "priority_debug"); show_flag(buf, proxy_debug, "proxy_debug"); show_flag(buf, rr_simulation, "rr_simulation"); show_flag(buf, sched_op_debug, "sched_op_debug"); @@ -101,7 +102,6 @@ void LOG_FLAGS::show() { show_flag(buf, time_debug, "time_debug"); show_flag(buf, unparsed_xml, "unparsed_xml"); show_flag(buf, work_fetch_debug, "work_fetch_debug"); - show_flag(buf, notice_debug, "notice_debug"); if (strlen(buf)) { msg_printf(NULL, MSG_INFO, "log flags: %s", buf); diff --git a/lib/cc_config.cpp b/lib/cc_config.cpp index 4b5a3a3ba1..e8f22f84fb 100644 --- a/lib/cc_config.cpp +++ b/lib/cc_config.cpp @@ -74,7 +74,6 @@ int LOG_FLAGS::parse(XML_PARSER& xp) { if (xp.parse_bool("cpu_sched_status", cpu_sched_status)) continue; if (xp.parse_bool("dcf_debug", dcf_debug)) continue; if (xp.parse_bool("disk_usage_debug", disk_usage_debug)) continue; - if (xp.parse_bool("priority_debug", priority_debug)) continue; if (xp.parse_bool("file_xfer_debug", file_xfer_debug)) continue; if (xp.parse_bool("gui_rpc_debug", gui_rpc_debug)) continue; if (xp.parse_bool("heartbeat_debug", heartbeat_debug)) continue; @@ -84,6 +83,7 @@ int LOG_FLAGS::parse(XML_PARSER& xp) { if (xp.parse_bool("network_status_debug", network_status_debug)) continue; if (xp.parse_bool("notice_debug", notice_debug)) continue; if (xp.parse_bool("poll_debug", poll_debug)) continue; + if (xp.parse_bool("priority_debug", priority_debug)) continue; if (xp.parse_bool("proxy_debug", proxy_debug)) continue; if (xp.parse_bool("rr_simulation", rr_simulation)) continue; if (xp.parse_bool("rrsim_detail", rrsim_detail)) continue; @@ -120,7 +120,6 @@ int LOG_FLAGS::write(MIOFILE& out) { " %d\n" " %d\n" " %d\n" - " %d\n" " %d\n" " %d\n" " %d\n" @@ -130,6 +129,7 @@ int LOG_FLAGS::write(MIOFILE& out) { " %d\n" " %d\n" " %d\n" + " %d\n" " %d\n" " %d\n" " %d\n" @@ -159,7 +159,6 @@ int LOG_FLAGS::write(MIOFILE& out) { cpu_sched_status ? 1 : 0, dcf_debug ? 1 : 0, disk_usage_debug ? 1 : 0, - priority_debug ? 1 : 0, file_xfer_debug ? 1 : 0, gui_rpc_debug ? 1 : 0, heartbeat_debug ? 1 : 0, @@ -169,6 +168,7 @@ int LOG_FLAGS::write(MIOFILE& out) { network_status_debug ? 1 : 0, notice_debug ? 1 : 0, poll_debug ? 1 : 0, + priority_debug ? 1 : 0, proxy_debug ? 1 : 0, rr_simulation ? 1 : 0, rrsim_detail ? 1 : 0,