On Thu, 2010-06-24 at 12:54 +0200, Rainer Gerhards wrote:
> I have no experience with YAML. Will dig into it. But before I spent
> lots of time there, could you do a quick rewrite of the config in YAML?
> I'd like to grasp of how it looks, especially when applied to rsyslog
> concepts (some things looked really nice, but only as long as they do
> not need to express rsyslog configs ;)).

I have dug a bit through YAML on the web in the meantime. While it looks
interesting, I have a concern about library availability for C.

The YAML homepage points to two projects:

  - libyaml       # "C" Fast YAML 1.1
  - Syck          # (dated) "C" YAML 1.0

where the Syck link (http://whytheluckystiff.net/syck/) seems to be dead
(and I also could not found any other via Google).

libyaml's homepage is here: http://pyyaml.org/wiki/LibYAML

I have to admit it looks a bit like a construction site ;) The SVN
(http://svn.pyyaml.org/libyaml/branches/stable/announcement.msg)
mentions:

"The library is functionally complete, but the documentation is scarce
and the API is subject to change."

Also, the Homepage claims it is a Google summer of code project, what
for me has the co-notation of "will not be maintained in the future". A
quick look at Ohloh seems to back this view
(http://www.ohloh.net/p/6835/factoids/1863758):

"Over the last twelve months, LibYAML  has seen a substantial decline in
development activity."

I have not checked cross-platform availability of libyaml.

So, in short: is this something we wont to bet rsyslog's config on?
Again, I don't like to write a YAML parser just to get that format in...

Comments and alternative library suggestions are highly welcome. At
first glimpse, the format itself looks nice (but I did not try to
express an rsyslog config in it, I would need to learn more about its
subleties to do so).

Rainer

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to