Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 19294 invoked by uid 500); 26 Nov 2002 11:40:36 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 19281 invoked from network); 26 Nov 2002 11:40:36 -0000 X-Authentication-Warning: rdu74-177-063.nc.rr.com: trawick set sender to trawick@attglobal.net using -f Sender: trawick@rdu74-177-063.nc.rr.com To: dev@httpd.apache.org Subject: Re: ap_log_printf References: <000a01c29533$550496b0$0aba430a@TMN.CAPGEMINI.FR> From: Jeff Trawick Date: 26 Nov 2002 06:50:13 -0500 In-Reply-To: <000a01c29533$550496b0$0aba430a@TMN.CAPGEMINI.FR> Message-ID: Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N LETERRIER Herv=E9 writes: > Dou you know, which are the apaches functions, same as netscapes function= s system_fopenWA, system_fwrite_atomic and system_fclose ? (opening writing= and closing the log file for simultaneously request, without conflicts). I don't know anything about those netscape functions, but they sound like generic file I/O. Have a look at apr_file_open() and friends in apr_file_io.h. The APR_APPEND flag causes I/O to do the right thing for log files (serialize among multiple threads and/or processes), but note that there is a critical fix for that support on Win32 after Apache 2.0.43. --=20 Jeff Trawick | trawick@attglobal.net Born in Roswell... married an alien...