Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69514 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6863 invoked from network); 8 Oct 2013 07:05:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Oct 2013 07:05:43 -0000 Authentication-Results: pb1.pair.com header.from=hajo.locke@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=hajo.locke@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.15.19 as permitted sender) X-PHP-List-Original-Sender: hajo.locke@gmx.de X-Host-Fingerprint: 212.227.15.19 mout.gmx.net Received: from [212.227.15.19] ([212.227.15.19:49891] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/94-09409-1CEA3525 for ; Tue, 08 Oct 2013 03:05:38 -0400 Received: from platz17 ([85.13.159.249]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MfmWy-1V8ciR05Y4-00N6bf for ; Tue, 08 Oct 2013 09:05:35 +0200 Message-ID: <1328641A499E46A9BC00A63704CBD583@ai.local> To: Date: Tue, 8 Oct 2013 09:05:04 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Provags-ID: V03:K0:e32crqaeX+5pWYooe6Sxg2z6MVHCnnk0T9ZlR+AifGBg1s1CCug I1Dju3X39aQHeId6ACryMR2pkMxmF1XA/C8R8GZ8i0NR8w5sGzpFUpJqWpcbhVIqKAP363e aBLgfTiygGC4tZClUZ2yoIxsfjRc5JTxoig/97ltl2gZSw3s9IyTKLq/tAaXWZO44clLJ8w ipH7Ae3CgTGH6Ub1vKtqw== Subject: errorlogging/logformat From: hajo.locke@gmx.de ("Hajo Locke") Hello, 2 short questions respectively feature requests for formating errorlogs. In .htaccess i use logging-directives: php_flag log_errors on php_value error_log /abs/path/file.txt For normal server it is enough, but within cluster-setup i cant detect which Server is having a problem because hostname does not appear in error-logline. We have multiple webservers behind loadbalancer logging into same folders mounted by nfs. I cant detect which server was writing the line unless i use different paths in .htaccess which is not easy because also this .htaccess is served by nfs. Do you see a possibility to show hostname in simple errorlog? 2nd question is: just as a user is using his own personal error_log directive within .htaccess, loglines are logged to this personal errorlog only but not in generaly errorlog of apacheserver any more. It would be nice if errors always are logged in general error-log regardless of personal settings of users. This may have a potential of redundancy, but it should be impossible to lose loglines respectively i cant always check for personal settings if i analyze a problem. Thanks, Hajo