Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2003 06:32:36 +0000
From:      Wes Peters <wes@softweyr.com>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        arch@FreeBSD.org
Subject:   Re: syslog.conf syntax change (multiple program/host specifications)
Message-ID:  <200302120632.36583.wes@softweyr.com>
In-Reply-To: <200302112310.h1BNAUBS019097@khavrinen.lcs.mit.edu>
References:  <20030210114930.GB90800@melusine.cuivre.fr.eu.org> <200302112310.h1BNAUBS019097@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 11 February 2003 23:10, Garrett Wollman wrote:
> In article <200302111430.03156.wes@softweyr.com> you write:
> >Excellent.  I have another simple change to syslog I want to cast before
> > the audience for consideration.
>
> I have had near the bottom of the CFT pile for some time now a project
> to do the following (which your example is just crying out for):
>
> 1) Integrate syslogd and newsyslog.
> 2) Replace syslog.conf and newsyslog.conf with a new configuration file
> that contains complete descriptions of log sources and destinations.
>
> As a part of (2) I have been thinking at very low priority about how
> to represent the new configuration file, and I've come to the
> conclusion that XML is probably the best answer.

There was a time I would have agreed with you, but that time has
passed.  SGML-ish languages have such tortured syntax and are such
an abomination on the eyes they should never be exposed to human
eyes.  I'd much prefer to develop a simple yacc-able grammar and
develope the configuration parser that way, or use a key=value
configuration, so human beings can understand the configuration
with a program to help them.

XML is the ultimate Least Common Denominator; it's the best tool
for every job, except you can come up with a better tool for any
job.

-- 

        Where am I, and what am I doing in this handbasket?

Wes Peters                                               wes@softweyr.com


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?200302120632.36583.wes>