Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46404 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8763 invoked from network); 13 Dec 2009 16:19:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Dec 2009 16:19:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=jerome@loyet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jerome@loyet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain loyet.net from 209.85.223.195 cause and error) X-PHP-List-Original-Sender: jerome@loyet.net X-Host-Fingerprint: 209.85.223.195 mail-iw0-f195.google.com Received: from [209.85.223.195] ([209.85.223.195:42464] helo=mail-iw0-f195.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/70-03442-A04152B4 for ; Sun, 13 Dec 2009 11:19:25 -0500 Received: by iwn33 with SMTP id 33so1484260iwn.29 for ; Sun, 13 Dec 2009 08:19:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.170.14 with SMTP id b14mr1093728ibz.26.1260721159235; Sun, 13 Dec 2009 08:19:19 -0800 (PST) Date: Sun, 13 Dec 2009 17:19:19 +0100 Message-ID: <3bea96c40912130819h4cef09bam3f5499bd27ef2a38@mail.gmail.com> To: php-dev Cc: Antony Dovgal Content-Type: multipart/mixed; boundary=001636d34a9bdb6a17047a9e84a4 Subject: [PATCH] fpm/bug: handle custom log_level when not daemonized From: jerome@loyet.net (=?ISO-8859-1?B?Suly9G1lIExveWV0?=) --001636d34a9bdb6a17047a9e84a4 Content-Type: text/plain; charset=ISO-8859-1 Hi tony, There is a small bug when fpm is not daemonized. In this case, the log_level is not set and the default (notice) is used. When the damonize option is used, it works well. The patch attached corrects it. Hope it helps ++ Jerome --001636d34a9bdb6a17047a9e84a4--