Re: access to event log of windows
Hello, is there a way to read/write from/to the event log of windows ? syslog and vsyslog are implemented in Cygwin. On NT they use the event log system. You're right. But i think with syslog i can only write to the log. What i also need is to read from it :-) In other words: i'd like to scan NT eventlog for errors, programatically. Mit freundlichen Grüssen, Oliver Geisen --- Systemadministrator Kreisboten Verlag Mühlfellner KG Telefon: 0881/686-63 Telefax: 0881/686-74 Mail: [EMAIL PROTECTED] --- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: access to event log of windows
Another Method is using psloglist from SysInternals psutils package. It's not cygwin, but native win32. ... I have doubts there's a portable way to scan syslog programmatically. If you simply want to access the NT event log, look at the libwin32-perl package (there may be other ways, too). ... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
access to event log of windows
Hello, is there a way to read/write from/to the event log of windows ? I think it would be a great thing to have event-logs in a UNIX-style underneath /var/log/... Mayby one can make a interface-file where events are mapped into log-files, like Unix does with /etc/syslog.conf. Or is there already a SYSLOG implementation for cygwin ? Thanks, Oliver Geisen --- Systemadministrator Kreisboten Verlag Mühlfellner KG Telefon: 0881/686-63 Telefax: 0881/686-74 Mail: [EMAIL PROTECTED] --- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: access to event log of windows
On Jul 12 08:51, Oliver Geisen wrote: Hello, is there a way to read/write from/to the event log of windows ? I think it would be a great thing to have event-logs in a UNIX-style underneath /var/log/... Mayby one can make a interface-file where events are mapped into log-files, like Unix does with /etc/syslog.conf. Or is there already a SYSLOG implementation for cygwin ? syslog and vsyslog are implemented in Cygwin. On NT they use the event log system. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: access to event log of windows
Corinna, thanks for this useful information. Is there a comparable command line utility to inspect the event log(s)? I know of psloglist and dumpel, but I really want to stick with cygwin tools. Any possibility? Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Corinna Vinschen Sent: Monday, July 12, 2004 11:05 AM To: Cygwin Newsgroup Subject: Re: access to event log of windows On Jul 12 08:51, Oliver Geisen wrote: Hello, is there a way to read/write from/to the event log of windows ? I think it would be a great thing to have event-logs in a UNIX-style underneath /var/log/... Mayby one can make a interface-file where events are mapped into log-files, like Unix does with /etc/syslog.conf. Or is there already a SYSLOG implementation for cygwin ? syslog and vsyslog are implemented in Cygwin. On NT they use the event log system. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: access to event log of windows
On Jul 12 11:24, Mike Kenny - BCX - Infrastructure Services wrote: Corinna, thanks for this useful information. Is there a comparable command line utility to inspect the event log(s)? I know of psloglist and dumpel, but I really want to stick with cygwin tools. Any possibility? Not yet, no. You could write one ;-) Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: access to event log of windows
thanks for this useful information. Is there a comparable command line utility to inspect the event log(s)? I know of psloglist and dumpel, but I really want to stick with cygwin tools. Any possibility? Not yet, no. You could write one ;-) Corinna I could, but it might end up putting more messages into the event log than it reads :-( -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/