diff --git a/proxy/logging/LogObject.cc b/proxy/logging/LogObject.cc index 260a7c8a285..e8d45c62cf3 100644 --- a/proxy/logging/LogObject.cc +++ b/proxy/logging/LogObject.cc @@ -256,18 +256,6 @@ LogObject::add_filter(LogFilter *filter, bool copy) m_filter_list.add(filter, copy); } -void -LogObject::set_filter_list(const LogFilterList &list, bool copy) -{ - LogFilter *f; - - m_filter_list.clear(); - for (f = list.first(); f != nullptr; f = list.next(f)) { - m_filter_list.add(f, copy); - } - m_filter_list.set_conjunction(list.does_conjunction()); -} - // we compute the object signature from the fieldlist_str and the printf_str // of the LogFormat rather than from the format_str because the format_str // is not part of a LogBuffer header diff --git a/proxy/logging/LogObject.h b/proxy/logging/LogObject.h index d1d88cf1f2d..204c4202494 100644 --- a/proxy/logging/LogObject.h +++ b/proxy/logging/LogObject.h @@ -100,7 +100,6 @@ class LogObject : public RefCountObj ~LogObject() override; void add_filter(LogFilter *filter, bool copy = true); - void set_filter_list(const LogFilterList &list, bool copy = true); inline void set_fmt_timestamps() @@ -124,16 +123,6 @@ class LogObject : public RefCountObj unsigned roll_files(long time_now = 0); - inline int - add_to_flush_queue(LogBuffer *buffer) - { - int idx = m_buffer_manager_idx++ % m_flush_threads; - - m_buffer_manager[idx].add_to_flush_queue(buffer); - - return idx; - } - inline size_t preproc_buffers(int idx = -1) {