And actually there is already AS module that provides syslog with other system related functions

ftp://ftp.crystalballinc.com/pub/vlad/nssys.tar.gz

----------------------------------------------------
 ns_syslog

 Usage:
   ns_syslog ?-facility f -options o -ident i? priority message

facility - kernel, cron, authpriv, mail, local0, local1, daemon, local2, news, local3, local4, local5, local6, syslog, local7, auth, uucp, lpr, user
  options     - list with any of { CONS NDELAY PERROR PID ODELAY NOWAIT }
ident - ident is prepended to every message, and is typically the program name priority - info, alert, emerg, err, notice, warning, error, crit, debug

 Returns:
   nothing


Zoran Vasiljevic wrote:
Hi!

Vlad suggested in the RFE #1156875 (Watchdog process restarts failed server)
to include the interface to Unix syslog facility.

I'm actually very interested to get a kind-of abstraction
(if possible) which would allow us to be more platform independent in terms of being able to send logs to the
windows server log as well. I'm not that familiar with
the windows platform but I have a collegue who is.

The task would be to abstract both and wrap them in a module, not necessarily the server itself.
The same way the nslog is done. In this case it
would be kindof nssyslog or similar.

I will try to see with my collegue how those two
different logging systems could be abstracted
and wether this is possible at all.

Do you guys have any experience on that?

Cheers
Zoran


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/

Reply via email to