Skip to content

Instantly share code, notes, and snippets.

@faxm0dem
Last active February 8, 2017 14:42
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/8f759a020cebbdb15962df234d7012b3 to your computer and use it in GitHub Desktop.
Save faxm0dem/8f759a020cebbdb15962df234d7012b3 to your computer and use it in GitHub Desktop.
syslog-ng -R /tmp/R -p /tmp/p -c /tmp/c -f /etc/syslog-ng/syslog-ng-debug.conf -Fdv
@version: 3.5
source s_tdin {
file("/dev/stdin" flags(no-parse));
};
destination d_stdout {
file("/dev/stdout");
};
log {
source(s_tdin);
destination(d_stdout);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment