comparison src/syslogconfig.cpp @ 28:6465d8640489

make add/remove commands configureable
author carl
date Sun, 12 Feb 2006 11:10:21 -0800
parents 28fec0c67646
children 601bc0e075e1
comparison
equal deleted inserted replaced
27:28fec0c67646 28:6465d8640489
634 else if (have == token_file) { 634 else if (have == token_file) {
635 if (!parse_syslogconfig(tok, dc)) return false; 635 if (!parse_syslogconfig(tok, dc)) return false;
636 count++; 636 count++;
637 } 637 }
638 else { 638 else {
639 tok.token_error("threshold/ignore/file", have); 639 tok.token_error("threshold/ignore/add_command/remove_command/file", have);
640 return false; 640 return false;
641 } 641 }
642 } 642 }
643 tok.token_error("load_conf() found %d syslog files in %s", count, fn); 643 tok.token_error("load_conf() found %d syslog files in %s", count, fn);
644 return (!dc.syslogconfigs.empty()); 644 return (!dc.syslogconfigs.empty());