Logwatch replacement..

Harry Putnam reader at newsguy.com
Sat Jan 8 15:10:59 UTC 2005


Matthew Miller <mattdm at mattdm.org> writes:

> On Fri, Jan 07, 2005 at 02:33:11PM -0600, Harry Putnam wrote:
>> Anyone here that can recommend a replacement for Logwatch that allows
>> more fine grained user control over what gets reported?
>
> On my list of things to look at:
>
> <http://linux.duke.edu/projects/epylog/>

Thanks, yes that does look promising.  I downloaded the tar ball and
ran rpmbuild -ta as recommended.  It built a couple rpms and the
src.rpm.

Installed both rpms then ran a test command as recommended.

epylog (no args) 

  It fails with somekind of date format error from python:

  Invoking: "Initializing epylog"...
Traceback (most recent call last):
  File "/usr/sbin/epylog", line 300, in ?
    main(sys.argv)
  File "/usr/sbin/epylog", line 263, in main
    epylog = Epylog(config_file, logger)
  File "/usr/lib/python2.4/site-packages/epylog/__init__.py", line 227, in __init__
    logtracker = LogTracker(config, logger)
  File "/usr/lib/python2.4/site-packages/epylog/log.py", line 118, in __init__
    self.monthmap = mkmonthmap()
  File "/usr/lib/python2.4/site-packages/epylog/log.py", line 55, in mkmonthmap
    months.append(time.strftime("%b", (0, i+1, 0, 0,
 ValueError: day of month out of range

So I guess its not really ready for prime time yet.  The home page
tells you that you must have python2.2 but Fedora is up to python2.4
which may be the source of the problem.




More information about the users mailing list