Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 2017 21:28:11 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Ian Lepore <ian@freebsd.org>
Cc:        John Baldwin <jhb@freebsd.org>, src-committers <src-committers@freebsd.org>, Warner Losh <imp@bsdimp.com>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Ngie Cooper <yaneurabeya@gmail.com>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Ngie Cooper <ngie@freebsd.org>, "Rodney W. Grimes" <rgrimes@freebsd.org>
Subject:   Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk
Message-ID:  <20170515212811.GB26702@FreeBSD.org>
In-Reply-To: <20170515202853.GA88899@FreeBSD.org>
References:  <201705131537.v4DFbgWV045290@pdx.rh.CN85.dnsmgr.net> <2229085.lB46rKsq7o@ralph.baldwin.cx> <1494870201.59865.103.camel@freebsd.org> <4703731.Pl02uSWy7k@ralph.baldwin.cx> <1494879113.59865.129.camel@freebsd.org> <20170515202853.GA88899@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 15, 2017 at 08:28:53PM +0000, Alexey Dokuchaev wrote:
> On Mon, May 15, 2017 at 02:11:53PM -0600, Ian Lepore wrote:
> > ...
> > Sure, all us old-timers have the finger memory for editing rc.conf and
> > syslog.conf and so on, but how often do you crack open syslog.conf with
> > the plan of editing 12 different lines in it at once?
> 
> Actually I don't want to open it [newsyslog.conf] at all, and on desktop,
> where odd things are noticed quickly, default rotation is good enough.
> I might want to edit it on server to e.g. keep at least one year worth of
> logs, and when I do, I'd rather edit one file instead of half-dozen.

Thinking of it, it occurred to me that some simple inheritance mechanism
that would allow one to set (and centrally maintain) default "mode/count/
size/when/flags" in /etc/newsyslog.conf, without having to touch every
individual /etc/newsyslog.conf.d/foo.conf (while allowing per-log and per-
mode/count/size/when/flags override) could address most of the expressed
concerns so far.

I just hope it does not smell like sys<cough-cough>d too much, because oh
boy, please no.

./danfe



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