mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 14:48:51 +01:00
Improve formatting in shorewall.conf
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@569 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
17868a6cce
commit
535510e8a2
@ -58,7 +58,7 @@ LOGFILE=/var/log/messages
|
||||
# LOG FORMAT
|
||||
#
|
||||
# Shell 'printf' Formatting template for the --log-prefix value in log messages
|
||||
# generated by Shorewall. to identify Shorewall log messages. The supplied
|
||||
# generated by Shorewall to identify Shorewall log messages. The supplied
|
||||
# template is expected to accept three arguments; the first is the chain name,
|
||||
# the second is the logging rule number within that chain and the third is the
|
||||
# ACTION specifying the disposition of the packet being logged.
|
||||
@ -70,12 +70,11 @@ LOGFILE=/var/log/messages
|
||||
# If not specified or specified as empty (LOGFORMAT="") then the value
|
||||
# "Shorewall:%s:%d:%s:" is assumed.
|
||||
#
|
||||
# CAUTION: /sbin/shorewall uses the leading part of the LOGFORMAT
|
||||
# string (up to but not including the first '%') to find log messages
|
||||
# in the 'show log', 'status' and 'hits' commands. This part should
|
||||
# not be omitted (the LOGFORMAT should not begin with "%") and the
|
||||
# leading part should be sufficiently unique for /sbin/shorewall to
|
||||
# identify Shorewall messages.
|
||||
# CAUTION: /sbin/shorewall uses the leading part of the LOGFORMAT string (up
|
||||
# to but not including the first '%') to find log messages in the 'show log',
|
||||
# 'status' and 'hits' commands. This part should not be omitted (the
|
||||
# LOGFORMAT should not begin with "%") and the leading part should be
|
||||
# sufficiently unique for /sbin/shorewall to identify Shorewall messages.
|
||||
|
||||
LOGFORMAT="Shorewall:%s:%d:%s:"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user