-
-
Save iroller/40c233f40ebc8bc9163e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
block root b_block1(app(), file(), dest_suffix(), flags()) { | |
destination d_app_`app` { file("file.log", owner(user), group(user), perm(0644)); }; | |
log { source(s_remote_`app`); | |
filter(f_user); | |
filter(f_app_`app`); | |
destination(d_app_`app`); | |
flags(final); | |
log { filter(f_exceptions); | |
destination(d_exceptions); | |
}; | |
log { filter(f_exceptions); | |
destination(d_exceptions_multiline); | |
}; | |
}; | |
}; | |
Error parsing log, syntax error, unexpected KW_LOG, expecting '}' in root block b_block1 at line 8, column 11: | |
included from /etc/syslog-ng/syslog-ng.conf line 48, column 22 | |
log | |
^^^ |
bazsi:
b_block1(app(myappname))
Already tried to remove useless attributes:
block root b_block1(app()) {
It gives the same error.
3.3.7-1mhp1lucid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how do you reference this block?