Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46435 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19992 invoked from network); 15 Dec 2009 22:27:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Dec 2009 22:27:34 -0000 Authentication-Results: pb1.pair.com header.from=mike503@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=mike503@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.44 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mike503@gmail.com X-Host-Fingerprint: 209.85.160.44 mail-pw0-f44.google.com Received: from [209.85.160.44] ([209.85.160.44:46776] helo=mail-pw0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/D6-16228-55D082B4 for ; Tue, 15 Dec 2009 17:27:33 -0500 Received: by pwi15 with SMTP id 15so232201pwi.23 for ; Tue, 15 Dec 2009 14:27:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LZkqclRzcXmYYDf4S6mqeVL2izkVg/hEOqQdTpv5dzY=; b=B+MYrZH2NTf+3Jlf0cmAk02bZKt5EEC3OxeczOFE+ZshiZRcscAzHOwnpru4bEJBF9 J7VVdyz2caQdd6VIYI4ylvm+wP3xHqx/XLhrFFupJ8bhev+ttlcEEnk6Tpz6FcYepDK5 XYV6PMvVKSX0awiidLNHa2NVrYaHr6ueVJgXs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=e56wyne3TJy1o1x7h5ZD8uCiZwMY/iRXEof8c1iEYv0dhb0cB1+wYflUenwBkPWaNT QwBlGlUKzmLoW4GMISvqz3I8Z3KomBYRiyNFAKFsGQT2ZrPKgoleGxU24tdslFrHoQUI QO9Ox7yRwDLmrEpJyBsChv2xaHm/SDRm2dkhA= MIME-Version: 1.0 Received: by 10.114.55.34 with SMTP id d34mr76155waa.225.1260916050969; Tue, 15 Dec 2009 14:27:30 -0800 (PST) In-Reply-To: <4B27802C.9010802@daylessday.org> References: <3bea96c40912141216u6019bc9bv4bdf054a4cd1919f@mail.gmail.com> <4B275138.4040200@iki.fi> <4B27538C.7030108@daylessday.org> <4B27573D.6080601@iki.fi> <4B2758E6.2070506@daylessday.org> <4B27802C.9010802@daylessday.org> Date: Tue, 15 Dec 2009 14:27:30 -0800 Message-ID: To: Antony Dovgal Cc: Tjerk Anne Meesters , jani.taskinen@iki.fi, =?UTF-8?B?SsOpcsO0bWUgTG95ZXQ=?= , php-dev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [PATCH] fpm/typo: change some log about dynamic + homogenize log message about pool From: mike503@gmail.com (Michael Shadle) On Tue, Dec 15, 2009 at 4:25 AM, Antony Dovgal wrote: > Here we have time, pid, function and line. > With log_level=3Ddebug all of them are printed, in other cases only time = gets into the log, > which makes perfect sense to me. +1 to Antony and J=C3=A9r=C3=B4me. Having a log format parameter seems a bit overkill for debug/internal messa= ges. Unless php-fpm's logfile turns into some kind of access log that winds up being parsed, I don't see the need. However if people have ideas on how this will help or be useful (i.e. you -are- planning on running logfiles or logwatch or something) then it might be smart to bring it back to the table again. J=C3=A9r=C3=B4me and= I were talking about some way to grab statistics in real-time (as close as they can be, obviously the connection counts can change rapidly) and I thought it might make sense to have a PHP function which can access that information. Originally he had mentioned a /url-prefix but that seems a bit complex, having to configure it in the webserver and such. I'm thinking of something like APC's apc_cache_info() - returns a structured array of useful info. Then you could build anything you wish around it (although you would have to execute it through the FPM-enabled SAPI most likely)