[Logcheck-commits] Hannes von Haugwitz: d/README.logcheck-database: mention logcheck-test
Hannes von Haugwitz
hvh-guest at alioth.debian.org
Thu Feb 17 07:53:11 UTC 2011
Module: logcheck
Branch: master
Commit: 3fcf93c89da373d99898b0dd19d6412fb1aa3fd1
URL: http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=3fcf93c89da373d99898b0dd19d6412fb1aa3fd1
Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date: Thu Feb 17 08:05:46 2011 +0100
d/README.logcheck-database: mention logcheck-test
---
debian/changelog | 2 ++
docs/README.logcheck-database | 5 ++++-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 998be4a..be03ca2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ logcheck (1.3.14) unstable; urgency=low
[ Hannes von Haugwitz ]
* src/logcheck:
- added numeric timezone information to subject line
+ * docs/README.logcheck-database:
+ - mention logcheck-test in 'TESTING RULES' section
-- Hannes von Haugwitz <hannes at vonhaugwitz.com> Thu, 17 Feb 2011 06:43:37 +0100
diff --git a/docs/README.logcheck-database b/docs/README.logcheck-database
index e99fdfb..540d632 100644
--- a/docs/README.logcheck-database
+++ b/docs/README.logcheck-database
@@ -175,7 +175,10 @@ hostnames explicitly - hence "oempc" above, rather than the pattern
TESTING RULES
=============
-To test new rules, you can grep your log file, and remove trailing
+To test new rules, it is recommended to use the logcheck-test command (see
+logcheck-test(1)).
+
+Alternatively you can manually grep your log file, and remove trailing
space with something like this:
sed -e 's/[[:space:]]*$//' /var/log/syslog | egrep \
More information about the Logcheck-commits
mailing list