tree: cbaae17becba31f19b64c098e2db00bf3b45c540 [path history] [tgz]
  1. chunked_message_decoder.py
  2. client_message_decoder.py
  3. client_messages.py
  4. command_line.py
  5. connection_types.py
  6. decoder_base.py
  7. ds_codes.py
  8. ds_fids.py
  9. gnmsg.py
  10. gnmsg_globals.py
  11. handshake_acceptance_codes.py
  12. handshake_decoder.py
  13. interest_policy.py
  14. interest_type.py
  15. message_types.py
  16. modified_utf8.py
  17. numeric_conversion.py
  18. protocol_state.py
  19. read_parts.py
  20. read_values.py
  21. README.md
  22. server_message_decoder.py
  23. server_messages.py
  24. textfiles.py
tools/gnmsg/README.md

Message parsing tool for geode-native (gnmsg)

Given a debug-level log file from a geode-native application, this script will decode all of the Geode protocol messages it can between client and server, and print them out as a list of JSON objects.

usage: gnmsg.py [-h] [--file [F]] [--handshake] [--messages]

Parse a Gemfire NativeClient log file.

optional arguments:
  -h, --help   show this help message and exit
  --file [F]   Data file path/name
  --handshake  (optionally) print out handshake message details
  --messages   (optionally) print out regular message details

The handshake argument should be considered experimental at the time of this writing, since there doesn't yet exist a public version of geode-native that actually logs the handshake bytes to parse.