[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Syslogd Unikernel



> On 2 Nov 2015, at 22:28, Jochen Bartl <jochenbartl@xxxxxxxxxxx> wrote:
> 
> Hi,
> 
> I just wanted to stop by and let you know that I've started working on a
> Syslog parser and a syslogd Unikernel. The latter isn't much more than a
> mere copy of the stackv4 skeleton at the moment.
> 
> https://github.com/verbosemode/syslogd-mirage
> https://github.com/verbosemode/syslog-message
> 
> Right now the parser just implements RFC3164[1] and ignores the tag
> field. I'm not sure if a full blown RFC 5424[2] compatible parser is
> necessary, since most network devices seem to make up their own log
> format nowadays. All a Syslog daemon can do in this case is parsing the
> facility and severity value, attaching a timestamp, using the source IP
> as hostname and treating the rest of the message as payload.
> 
> I'm an OCaml beginner and not a professional programmer, that's why
> critique, recommendations and ideas are very welcome ;-)
> 

Welcome!  At a quick glance, the syslog-message looks simple and
readable (assuming some ocamldoc is also added before a release ;-)

I'd probably stick to a simple RFC3164 core to start with and
get that released. Having that more fleshed out (e.g. with an
Irmin backing store) would be more useful than a RFC5424
implementation from my perspective.

Anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.