From: tolj AT uni-duesseldorf DOT de (Stipe Tolj) Subject: Re: syslog call->where is it logged on Win-NT 29 Sep 1998 11:44:34 -0700 Message-ID: <3610023A.E6DE21FA.cygnus.gnu-win32@uni-duesseldorf.de> References: <19980925203244 DOT 607 DOT qmail AT findmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Dushyant Sharma Cc: gnu-win32 AT cygnus 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 > 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 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 AT cygnus DOT com" with one line of text: "help".