diff options
author | Michael Larson <slioch@eng-140.vyatta.com> | 2008-01-17 09:34:53 -0800 |
---|---|---|
committer | Michael Larson <slioch@eng-140.vyatta.com> | 2008-01-17 09:34:53 -0800 |
commit | 3e8a066ac2f2fba7accaf2a5eb463b20717b78f5 (patch) | |
tree | 71f55423fbc97167e31ad0251a307284ac89eaf0 | |
parent | 1201b40e64c4d51a74126c34712362a34b1b3c32 (diff) | |
download | quagga-3e8a066ac2f2fba7accaf2a5eb463b20717b78f5.tar.bz2 quagga-3e8a066ac2f2fba7accaf2a5eb463b20717b78f5.tar.xz |
removed stderr message when unable to open exclusion file. Also downgraded syslog entry to
log_info--this file won't exist unless the cli configures link-detect to off.
-rw-r--r-- | watchlink/watchlink.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/watchlink/watchlink.cc b/watchlink/watchlink.cc index 33f03409..eb0394ad 100644 --- a/watchlink/watchlink.cc +++ b/watchlink/watchlink.cc @@ -86,8 +86,8 @@ load_exclusion_file(const string &link_dir) string file = link_dir + "/exclude"; FILE *fp = fopen(file.c_str(), "r"); if (fp == NULL) { - syslog(LOG_ERR,"load_exclusion_file(), failed to open state file"); - cerr << "load_exclusion_file(), failed to open state file" << endl; + syslog(LOG_INFO,"load_exclusion_file(), failed to open state file"); + // cerr << "load_exclusion_file(), failed to open state file" << endl; return coll; //means we are still up, ignore... } |