This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
syslog call->where is it logged on Win-NT
- To: gnu-win32 at cygnus dot com
- Subject: syslog call->where is it logged on Win-NT
- From: "Dushyant Sharma" <dsharma at swi dot com>
- Date: 25 Sep 1998 20:32:44 -0000
- Cc: dsharma at swi dot com
Here is the code snippet using syslog call. Where
are the logs strored?? Can they be seen by
Event Viewer.
Thanks for your response,
Dushyant Sharma
#include <syslog.h>
int main ( )
{ char *application = "??????";
openlog( application, 0, LOG_USER );
syslog( LOG_EMERG, "Test this thang00" );
syslog( LOG_EMERG, "Test this thang11" );
syslog( LOG_EMERG, "Test this thang22" );
closelog();
return 0;
}
-----
Free e-mail group hosting at http://www.eGroups.com/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".