diff --git a/src/logging/Manager.cc b/src/logging/Manager.cc index 5ab2e5bc77..b47a2f9eff 100644 --- a/src/logging/Manager.cc +++ b/src/logging/Manager.cc @@ -1181,12 +1181,6 @@ void Manager::Terminate() } } -void Manager::Error(WriterFrontend* writer, const char* msg) - { - reporter->Error("error with writer for %s: %s", - writer->Path().c_str(), msg); - } - // Timer which on dispatching rotates the filter. class RotationTimer : public Timer { public: diff --git a/src/logging/Manager.h b/src/logging/Manager.h index b65d22e3c0..d931bfaef8 100644 --- a/src/logging/Manager.h +++ b/src/logging/Manager.h @@ -172,9 +172,6 @@ protected: bool FinishedRotation(WriterFrontend* writer, string new_name, string old_name, double open, double close, bool terminating); - // Reports an error for the given writer. - void Error(WriterFrontend* writer, const char* msg); - // Deletes the values as passed into Write(). void DeleteVals(int num_fields, threading::Value** vals);