------art_49553_10705598.1159239443025
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 9/25/06, Frank Reiff <reiff / publicspace.net> wrote:
>
> Hi,
>
>
> I want to log an event either to a log file or a database. Since this
> would be executed for every download from my site I think the log file
> route may be more appropriate (ů¸ter).
>
> My problem: "How can I write (append) to the same log file from multiple
> interpreter instances at least potentially simultaneously?"


Another possibility: write a single-threaded server on a  localhost UDP port
and have each handler in the apache process fire-and-forget a packet to the
UDP server for each log line.

------art_49553_10705598.1159239443025--