http://bugs.samba.org/cgi-bin/samba-bugs keeps timing out, I notice there
are 
1998 messages in the spam folder, could this be impacting on it's response
time ?

--B

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 2:54 PM
To: [EMAIL PROTECTED]
Subject: VFS: create/append log file



I've trying to create a log file in a VFS module without using syslog.

I want to pass in a logfile name via options.

But,  when I put the following in the vfs_init section.

  FILE *log;
  log = open( path, "a+" );
  fprintf( log, "Logging actions for ...' );


it hangs ... on the fprintf and I get an empty file.

I am not a good  C program ...
is this the right calls and procedure for making a log file in a VFS module?



Reply via email to