rpms/logwatch/devel logwatch-7.0-dir.patch,NONE,1.1
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Nov 2 12:40:46 UTC 2005
Author: varekova
Update of /cvs/dist/rpms/logwatch/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv4078
Added Files:
logwatch-7.0-dir.patch
Log Message:
sing patch
logwatch-7.0-dir.patch:
conf/logfiles/clam-update.conf | 6 +-
conf/logwatch.conf | 2
conf/services/clam-update.conf | 6 +-
conf/services/slon.conf | 4 -
logwatch.8 | 105 ++++++++++++++++++++---------------------
scripts/services/clam-update | 6 +-
scripts/services/slon | 4 -
7 files changed, 66 insertions(+), 67 deletions(-)
--- NEW FILE logwatch-7.0-dir.patch ---
--- logwatch-7.0/logwatch.8.dir 2005-05-04 21:21:37.000000000 +0200
+++ logwatch-7.0/logwatch.8 2005-10-31 14:49:31.976133184 +0100
@@ -1,7 +1,7 @@
.\" Process this file with
.\" groff -man -Tascii foo.1
.\"
-.TH LOGWATCH 8 "MARCH 1998" Linux "User Manuals"
+.TH LOGWATCH 8 "October 2005" Linux "User Manuals"
.SH NAME
logwatch \- system log analyzer and reporter
.SH SYNOPSIS
@@ -23,26 +23,29 @@
.I directory
.B ] [--hostname
.I hostname
-.B ] [--numeric] [--help|--usage]
+.B ] [--splithosts] [--multiemail] [--output
+.I output-type
+.B ] [--numeric] [--version] [--help|--usage]
.SH DESCRIPTION
.B LogWatch
is a customizable, pluggable log-monitoring system. It will go
through your logs for a given period of time and make a report in the areas
-that you wish with the detail that you wish. Easy to use - works right out
-of the package on almost all systems.
+that you wish with the detail that you wish. Logwatch is being used for
+Linux and many types of UNIX.
.SH OPTIONS
-.IP "--detail level"
+.IP "\fB--detail\fR level"
This is the detail level of the report.
.I level
-can be high, med, low.
-.IP "--logfile log-file-group"
+can be a positive integer, or high, med, low, which correspond to the
+integers 10, 5, and 0, repectively.
+.IP "\fB--logfile\fR log-file-group"
This will force LogWatch to process only the set of logfiles
defined by
.I log-file-group
(i.e. messages, xferlog, ...). LogWatch will therefore process
all services that use those logfiles. This option can be specified
more than once to specify multiple logfile-groups.
-.IP "--service service-name"
+.IP "\fB--service\fR service-name"
This will force LogWatch to process only the service specified in
.I service-name
(i.e. login, pam, identd, ...). LogWatch will therefore also process
@@ -54,12 +57,12 @@
.I All
which will process all services (and logfile-groups) for which you have
filters installed.
-.IP --print
+.IP "\fB--print\fR"
Print the results to stdout (i.e. the screen).
-.IP "--mailto address"
+.IP "\fB--mailto\fR address"
Mail the results to the email address or user specified in
.I address.
-.IP "--range range"
+.IP "\fB--range\fR range"
You can specify a date-range to process. Common ranges are
.I Yesterday, Today, All,
and
@@ -67,70 +70,50 @@
Additional options are listed when invoked with the
.I Help
parameter.
-.IP --archives
+.IP "\fB--archives\fR"
Each log-file-group has basic logfiles (i.e. /var/log/messages) as
well as archives (i.e. /var/log/messages.? or /var/log/messages.?.gz).
When used with "--range all", this option will make LogWatch search
through the archives in addition to the regular logfiles. For other
values of --range, LogWatch will search the appropriate archived logs.
-.IP "--debug level"
+.IP "\fB--debug\fR level"
For debugging purposes.
.I level
can range from 0 to 100. This will
.I really
clutter up your output. You probably don't want to use this.
-.IP "--save file-name"
+.IP "\fB--save\fR file-name"
Save the output to
.I file-name
instead of displaying or mailing it.
-.IP "--logdir directory"
+.IP "\fB--logdir\R directory"
Look in
.I directory
for log files instead of the default directory.
-.IP "--hostname hostname"
+.IP "\fB--hostname\fR hostname"
Use
.I hostname
for the reports instead of this system's hostname. In addition,
-if HostLimit is set in
-.I /etc/log.d/logwatch.conf,
+if HostLimit is set in the logwatch.conf configuration file (see
+\fBMORE INFORMATION\fR, below),
then only logs from this hostname will be processed (where appropriate).
-.IP "--numeric"
+.IP "\fB--numeric\fR"
Inhibits additional name lookups, displaying IP addresses numerically.
-.IP --usage
+.IP "\fB--usage\fR"
Displays usage information
-.IP --help
+.IP "\fB--help\fR"
same as --usage.
.SH FILES
-.I /etc/log.d/logwatch.conf
+.IP /usr/share/logwatch/
.RS
-Really a symlink to /etc/log.d/conf/logwatch.conf.
-This file sets the default values of all the above
-options. These defaults are used when LogWatch is
-called without any parameters (i.e. from cron.daily).
-The file is well-documented, but the explanations above
-also apply to this config file.
+This directory contains all the perl executables and
+configuration files shipped with the logwatch distribution.
.RE
-.I /etc/log.d/conf/services/*
+.IP /etc/logwatch
.RS
-Configuration files for the various services whose log
-entries LogWatch can process.
-.RE
-.I /etc/log.d/conf/logfiles/*
-.RS
-Configuration files for the various logfiles that the
-above service's log entries are stored in.
-.RE
-.I /etc/log.d/scripts/shared/*
-.RS
-Filters common to many services and/or logfiles.
-.RE
-.I /etc/log.d/scripts/logfiles/*
-.RS
-Filters specific to just particular logfiles.
-.RE
-.I /etc/log.d/scripts/services/*
-.RS
-Actual filter programs for the various services.
+This directory contains local configuration files that override
+the default configuration. See \fBMORE INFORMATION\fR below for more
+information.
.RE
.SH EXAMPLES
.B logwatch --service ftpd-xferlog --range all --detail high --print --archives
@@ -143,12 +126,28 @@
This will print out login information for the previous day...
.RE
.SH MORE INFORMATION
-For information on adding your own filter, please see the file HOWTO-Make-Filter
-which should have been included with Logwatch. If you installed from an RPM,
-it is probably under /usr/share/doc/logwatch-XXX.
+The directory /usr/share/doc/logwatch-* contains several files with additional
+documentation:
+.RE
+.I HOWTO-Customize-LogWatch
+.RS
+Documents the directory structure of LogWatch configuration and executable
+files, and describes how to customize LogWatch by overriding these default
+files.
+.RE
+.I License
+.RS
+Describes the License under which LogWatch is distributed. Additional
+clauses may be specified in individual files.
+.RE
+.I README
+.RS
+Describes how to install, where to find it, mailing lists, and
+other useful information.
.SH AUTHOR
+.RE
Kirk Bauer <kirk at kaybee.org>
-
+.RE
http://www.kaybee.org/~kirk
-
+.RE
ftp://ftp.kaybee.org/pub/redhat/RPMS
--- logwatch-7.0/scripts/services/slon.dir 2005-10-07 01:36:04.000000000 +0200
+++ logwatch-7.0/scripts/services/slon 2005-10-31 15:00:58.392781992 +0100
@@ -19,8 +19,8 @@
#
# This script and config file assumes that slon is
# logging to /var/log/messages, if not, you need to
-# update the /etc/log.d/conf/services/slon.conf and
-# possibly add a new entry in /etc/log.d/conf/logfiles
+# update the /usr/share/logwatch/default.conf/services/slon.conf and
+# possibly add a new entry in /usr/share/logwatch/default.conf/logfiles
#
# Please send all comments, suggestions, bug reports,
# etc, to jeff.frost at frostconsultingllc.com and
--- logwatch-7.0/scripts/services/clam-update.dir 2005-05-03 21:34:30.000000000 +0200
+++ logwatch-7.0/scripts/services/clam-update 2005-10-31 15:02:24.357713336 +0100
@@ -23,9 +23,9 @@
#########################################################################
# Files - all shown with default paths:
#
-# /etc/log.d/conf/logfiles/clam-update.conf
-# /etc/log.d/conf/services/clam-update.conf
-# /etc/log.d/scripts/services/clam-update (this file)
+# /usr/share/logwatch/default.conf/logfiles/clam-update.conf
+# /usr/share/logwatch/default.conf/services/clam-update.conf
+# /usr/share/logwatch/scripts/services/clam-update (this file)
#
# ... and of course
#
--- logwatch-7.0/conf/logfiles/clam-update.conf.dir 2005-04-17 21:22:17.000000000 +0200
+++ logwatch-7.0/conf/logfiles/clam-update.conf 2005-10-31 14:49:31.978132880 +0100
@@ -17,9 +17,9 @@
#########################################################################
# Files - all shown with default paths:
#
-# /etc/log.d/conf/logfiles/clam-update.conf (this file)
-# /etc/log.d/conf/services/clam-update.conf
-# /etc/log.d/scripts/services/clam-update
+# /usr/share/logwatch/default.conf/logfiles/clam-update.conf (this file)
+# /usr/share/logwatch/default.conf/services/clam-update.conf
+# /usr/share/logwatch/scripts/services/clam-update
#
# ... and of course
#
--- logwatch-7.0/conf/logwatch.conf.dir 2005-10-09 17:54:28.000000000 +0200
+++ logwatch-7.0/conf/logwatch.conf 2005-10-31 14:50:00.333822160 +0100
@@ -62,7 +62,7 @@
# The 'Service' option expects either the name of a filter
-# (in /etc/log.d/scripts/services/*) or 'All'.
+# (in /usr/share/logwatch/scripts/services/*) or 'All'.
# The default service(s) to report on. This should be left as All for
# most people.
Service = All
--- logwatch-7.0/conf/services/slon.conf.dir 2005-09-27 23:51:25.000000000 +0200
+++ logwatch-7.0/conf/services/slon.conf 2005-10-31 14:55:18.165504400 +0100
@@ -8,8 +8,8 @@
###########################################################################
# This config file assumes that slon is
# logging to /var/log/messages, if not, you need to
-# update the /etc/log.d/conf/services/slon.conf and
-# possibly add a new entry in /etc/log.d/conf/logfiles
+# update the /usr/share/logwatch/default.conf/services/slon.conf and
+# possibly add a new entry in /usr/share/logwatch/default.conf/logfiles
#
###########################################################################
--- logwatch-7.0/conf/services/clam-update.conf.dir 2005-02-24 18:05:20.000000000 +0100
+++ logwatch-7.0/conf/services/clam-update.conf 2005-10-31 14:53:03.272011328 +0100
@@ -17,9 +17,9 @@
#########################################################################
# Files - all shown with default paths:
#
-# /etc/log.d/conf/logfiles/clam-update.conf
-# /etc/log.d/conf/services/clam-update.conf (this file)
-# /etc/log.d/scripts/services/clam-update
+# /usr/share/logwatch/default.conf/logfiles/clam-update.conf
+# /usr/share/logwatch/default.conf/services/clam-update.conf (this file)
+# /usr/share/logwatch/scripts/services/clam-update
#
# ... and of course
#
More information about the fedora-cvs-commits
mailing list