This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: syslog call->where is it logged on Win-NT
- To: Dushyant Sharma <dsharma at swi dot com>
- Subject: Re: syslog call->where is it logged on Win-NT
- From: Stipe Tolj <tolj at uni-duesseldorf dot de>
- Date: Mon, 28 Sep 1998 23:40:12 +0200
- CC: gnu-win32 at cygnus dot com
- Organization: Department of Economical Computer Science, University of Cologne, Germany
- References: <19980925203244.607.qmail@findmail.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;
> }
I suppose they are logged to the C:\CYGWIN32_SYSLOG.TXT file. But your code
seems not to be logging to this file.
Regards,
Stipe
--
Stipe Tolj <tolj@uni-duesseldorf.de>
Cygwin32 Porting Project
Department of Economical Computer Science
University of Cologne, Germany
http://www-public.rz.uni-duesseldorf.de/~tolj
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".