Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 17:21:52 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Wes Peters <wes@softweyr.com>, arch@FreeBSD.ORG
Cc:        Julian Elischer <julian@elischer.org>
Subject:   Re: NEWSYSLOG changes, nosignal & -Rotate
Message-ID:  <p05200f28ba8438f443e5@[128.113.24.47]>
In-Reply-To: <p05200f23ba81f4af4286@[128.113.24.47]>
References:  <20030210114930.GB90800@melusine.cuivre.fr.eu.org> <p05200f08ba7b59fffe0a@[128.113.24.47]> <p05200f1fba807dbb60c0@[128.113.24.47]> <200302251255.48219.wes@softweyr.com> <p05200f22ba81b269ba0f@[128.113.24.47]> <p05200f23ba81f4af4286@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:58 PM -0500 2/25/03, Garance A Drosihn wrote:
>I have two different updates now, to replace the one I
>previously posted.  Here's the location of the two patches:
>
>http://people.freebsd.org/~gad/newsyslog/1-nosig.diff
>http://people.freebsd.org/~gad/newsyslog/2-rotate.diff


The first patch adds the -s "nosignal" option and "Nn" flags.
The second patch adds the -R "request rotate" option.
And now here is a third patch:

http://people.freebsd.org/~gad/newsyslog/3-fixglob.diff

The main purpose of this update is to rework the way newsyslog
handles filenames which are specified on the command line.  This
is mainly to fix bugs with how those files were matched when the
config file includes entries that specify filename-patterns (globs).

It is also probably obvious by looking at it that I expect to
write a future update so newsyslog can read information from
multiple config files, say:
                /etc/defaults/newsyslog.conf
            and /etc/newsyslog.conf
and maybe even /usr/local/etc/newsyslog.d/*.conf
But I don't want to open that debate just yet.  For now I just
wanted to get glob's working correctly, because I think the
bugs in the present glob-handling might bite more people once
syslogd starts taking advantage of -R.

This update has not been extensively tested, although it does
seem to do the right thing for the config files I've tried.
Assuming there are no major bugs, I'd like to commit this at
about the same time as the other two.  I'm still claiming that
should be this Sunday, but it might be a few days later.  Let
me know if you see any problems with these updates.  I also
plan to do more testing of these before committing them.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05200f28ba8438f443e5>