Displaying 2 results from an estimated 2 matches for "append_log".
2002 May 13
3
lib/debug.c:reopen_logs(349)
...tries possibly related to this problem(?):
When we are in the period when the errors occurs and a user logs in we get this in 
the log:
Æ2002/05/08 11:30:03, 0Å lib/debug.c:reopen_logs(349)
  Unable to open new log file /usr/local/samba/var/log.smbd: Too many open files
In lib/debug.c
        if (append_log)
                new_dbf = sys_fopen( debugf, "a" );
        else
                new_dbf = sys_fopen( debugf, "w" );
        if (!new_dbf) æ
                log_overflow = True;
DEBUG(0, ("Unable to open new log file %s: %sØn", debugf, strerror(errno)));...
2003 Dec 01
0
No subject
...Stay in foreground\n");
 	printf("\t-a                    Append to log file (default)\n");
 	printf("\t-o                    Overwrite log file, don't append\n");
 	printf("\t-h                    Print usage\n");
@@ -537,6 +538,7 @@
 	extern BOOL append_log;
 	/* shall I run as a daemon */
 	BOOL is_daemon = False;
+	BOOL foreground = False;
 	BOOL specified_logfile = False;
 	int port = SMB_PORT;
 	int opt;
@@ -552,7 +554,7 @@
 		argc--;
 	}
 
-	while ( EOF != (opt = getopt(argc, argv, "O:l:s:d:Dp:h?Vaof:")) )
+	while ( EOF != (opt = getopt...