Add packet and payload logging to JSON alert output
Fixed stream handling Fixed some coding style issues
Add ability to encode payload in Base64
Changed variable name when dumping single packet
Changed attribute name for printable payload
Fixed variables names in suricata.yaml.in Changed logging logic - now it's possible to enable different payload dumping modes separately Fixed bug in dumping packet without stream segments Fixed indents
Fix handling filetype for eve log
Fix possible crash when logfile descriptor is invalid
Fixed memory leak
Fix eve 'filetype' parsing

Now that we use 'filetype' instead of 'type', we should also
use 'regular' instead of 'file'.

Added fallback to make sure we stay compatible to old configs.