Skip to content

Instantly share code, notes, and snippets.

@faxm0dem
Created September 27, 2016 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faxm0dem/d724227d9078693c45c84e2c22f3ce71 to your computer and use it in GitHub Desktop.
Save faxm0dem/d724227d9078693c45c84e2c22f3ce71 to your computer and use it in GitHub Desktop.
syslog-ng debugging config
☠ syslog-ng -f syslog-ng-debug.conf -R /tmp/R -p /tmp/p -c /tmp/c -Fdv
@version: 3.8
log {
source { file("/dev/stdin" flags(no-parse)); };
destination { file("/dev/stdout" template("$(format-json -s all-nv-pairs)\n")); };
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment