mirror of https://github.com/BOINC/boinc.git
ignore fields p_fpop_err in scheduler requests (still there from
4.19 core clients) else these generate lots of logfile noise. David, please revert if you don't like it. svn path=/trunk/boinc/; revision=6009
This commit is contained in:
parent
2a0574767c
commit
d839c2a8d8
|
@ -5999,3 +5999,12 @@ David 3 May 2005
|
||||||
sched/
|
sched/
|
||||||
handle_request.C
|
handle_request.C
|
||||||
server_types.C
|
server_types.C
|
||||||
|
|
||||||
|
Bruce 3 May 2005
|
||||||
|
- ignore fields p_fpop_err in scheduler requests (still there from
|
||||||
|
4.19 core clients) else these generate lots of logfile noise.
|
||||||
|
David, please revert if you don't like it.
|
||||||
|
|
||||||
|
sched/
|
||||||
|
server_types.C
|
||||||
|
|
||||||
|
|
|
@ -642,6 +642,9 @@ int HOST::parse(FILE* fin) {
|
||||||
|
|
||||||
p_ncpus = 1;
|
p_ncpus = 1;
|
||||||
while (fgets(buf, 256, fin)) {
|
while (fgets(buf, 256, fin)) {
|
||||||
|
int trash_int;
|
||||||
|
double trash_double;
|
||||||
|
|
||||||
if (match_tag(buf, "</host_info>")) return 0;
|
if (match_tag(buf, "</host_info>")) return 0;
|
||||||
else if (parse_int(buf, "<timezone>", timezone)) continue;
|
else if (parse_int(buf, "<timezone>", timezone)) continue;
|
||||||
else if (parse_str(buf, "<domain_name>", domain_name, sizeof(domain_name))) continue;
|
else if (parse_str(buf, "<domain_name>", domain_name, sizeof(domain_name))) continue;
|
||||||
|
@ -663,6 +666,12 @@ int HOST::parse(FILE* fin) {
|
||||||
else if (parse_double(buf, "<d_free>", d_free)) continue;
|
else if (parse_double(buf, "<d_free>", d_free)) continue;
|
||||||
else if (parse_double(buf, "<n_bwup>", n_bwup)) continue;
|
else if (parse_double(buf, "<n_bwup>", n_bwup)) continue;
|
||||||
else if (parse_double(buf, "<n_bwdown>", n_bwdown)) continue;
|
else if (parse_double(buf, "<n_bwdown>", n_bwdown)) continue;
|
||||||
|
// following four lines can be eliminated with a later version of
|
||||||
|
// the core client.
|
||||||
|
else if (parse_int(buf, "<p_fpop_err>", trash_int)) continue;
|
||||||
|
else if (parse_int(buf, "<p_iop_err>", trash_int)) continue;
|
||||||
|
else if (parse_int(buf, "<p_membw_err>", trash_int)) continue;
|
||||||
|
else if (parse_double(buf, "<p_calculated>", trash_double)) continue;
|
||||||
else {
|
else {
|
||||||
log_messages.printf(SCHED_MSG_LOG::NORMAL,
|
log_messages.printf(SCHED_MSG_LOG::NORMAL,
|
||||||
"HOST::parse(): unrecognized: %s\n", buf
|
"HOST::parse(): unrecognized: %s\n", buf
|
||||||
|
|
Loading…
Reference in New Issue