]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Graylog.cc: use dump_unsigned for pointer dumping
authorWillem Jan Withagen <wjw@digiware.nl>
Wed, 18 May 2016 12:00:06 +0000 (14:00 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Wed, 25 May 2016 10:13:00 +0000 (12:13 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/common/Graylog.cc

index 22f4446fea2b49dc8f2fe02b4c2e1194a7795d64..3342b1069b4f5f594b1b54bdcbecefee783ed60c 100644 (file)
@@ -85,7 +85,7 @@ void Graylog::log_entry(Entry const * const e)
     m_formatter->dump_string("short_message", s);
     m_formatter->dump_string("_app", "ceph");
     m_formatter->dump_float("timestamp", e->m_stamp.sec() + (e->m_stamp.usec() / 1000000.0));
-    m_formatter->dump_int("_thread", e->m_thread);
+    m_formatter->dump_unsigned("_thread", (uint64_t)e->m_thread);
     m_formatter->dump_int("_level", e->m_prio);
     if (m_subs != NULL)
     m_formatter->dump_string("_subsys_name", m_subs->get_name(e->m_subsys));