Hello,

I've recently needed to port some .NET software from Windows to Linux 
and so far everything
has been smooth sailing, though with some lack of sleep, and its almost 
finished but I've come to
a dead stop as the EventLog class is used to retrieve information from 
the system, administration and
security logs in Windows but unfortunately the EventLog class has no 
functionality in *nix systems and so
I'm left in bit of a rut here and I'm overwhelmed as, at the moment, my 
only options is to parse /var/log/syslog
myself and this distresses me because it does not seem very portable, 
the format of the log
could very easily be very different across the large assortment of Linux 
distros, or the log could
be in a totally different format, e.g. MetaLog or Syslog-Ng.

So basically said, with EventLog off the table, I need a reliable way to 
parse the /var/log/syslog,
maybe some others, reliably that would work across different distros, or 
most anyway,
I'd be willing to do some P/Invoking to an external library.

Anyone have any ideas?

Thanks,
Jimmy.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to