freebsd-ports/security/logcheck/files/patch-docs_logcheck-test.1
Matthew Seaman 64f6103079 * Update to 1.3.18.
* Process to fix paths in script and configuration files are simplified.
* Now man page of logcheck is generated from DocBook SGML source file by using textproc/docbook-to-man.
* Sort pkg-plist.
* Add forgotten files/patch-etc_logcheck.logfiles.
* Update files/patch-etc_logcheck.conf
* Move backup file cleaning up from post-patch to do-build so 'make makepatch' works as expected.

PR:		220609
Submitted by:	yasu@utahime.org (maintainer)
2017-07-30 15:47:59 +00:00

26 lines
645 B
Groff

--- docs/logcheck-test.1.orig 2017-01-25 21:08:04 UTC
+++ docs/logcheck-test.1
@@ -38,8 +38,8 @@ Show usage information
.B \-a, \-\-auth.log
Parse /var/log/auth.log for matching lines
.TP
-.B \-s, \-\-syslog
-Parse /var/log/syslog for matching lines
+.B \-m, \-\-messages
+Parse /var/log/messages for matching lines
.TP
.B \-l, \-\-log\-file FILE
Parse FILE for matching lines
@@ -69,10 +69,10 @@ With
.B logcheck-test
you can easily write and test new rules.
.PP
-Test a single rule against /var/log/syslog:
+Test a single rule against /var/log/messages:
.RS
.fam C
-logcheck-test \-s "RULE"
+logcheck-test \-m "RULE"
.fam T
.RE