Merge branch 'master' of github.com:BitShares/fc

This commit is contained in:
Daniel Larimer 2015-02-23 14:02:06 -05:00
commit 374f141f0a

View file

@ -12,6 +12,7 @@
#include <boost/lexical_cast.hpp>
#include <iomanip>
#include <iostream>
#include <queue>
#include <sstream>
#include <iostream>
@ -128,7 +129,7 @@ namespace fc
gelf_message["_task_name"] = context.get_task_name();
string gelf_message_as_string = json::to_string(gelf_message);
unsigned uncompressed_size = gelf_message_as_string.size();
//unsigned uncompressed_size = gelf_message_as_string.size();
gelf_message_as_string = zlib_compress(gelf_message_as_string);
// graylog2 expects the zlib header to be 0x78 0x9c