Merge branch 'master' of github.com:BitShares/fc
This commit is contained in:
commit
374f141f0a
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue