Required by graylog logging backend
Signed-off-by: Marcel Lauhoff <ml@irq0.org>
libboost-thread-dev (>= 1.42),
libboost-regex-dev,
libboost-random-dev,
+ libboost-iostreams-dev (>= 1.42),
libcurl4-gnutls-dev,
libexpat1-dev,
libfcgi-dev,
void log_entry(Entry const * const e);
+ typedef ceph::shared_ptr<Graylog> Ref;
+
private:
SubsystemMap const * const m_subs;
{
pthread_mutex_lock(&m_flush_mutex);
if (! m_graylog.get())
- m_graylog = boost::shared_ptr<Graylog>(new Graylog(m_subs));
+ m_graylog = Graylog::Ref(new Graylog(m_subs));
pthread_mutex_unlock(&m_flush_mutex);
}
int m_stderr_log, m_stderr_crash;
int m_graylog_log, m_graylog_crash;
- boost::shared_ptr<Graylog> m_graylog;
+ Graylog::Ref m_graylog;
bool m_stop;
void start_graylog();
void stop_graylog();
- void update_graylog(const std::string& host, int port);
Graylog::Ref graylog() { return m_graylog; }