log4php JIRA now available

2007-07-23 Thread Curt Arnold
log4php now how a project in the ASF JIRA for tracking bug reports, feature requests, patches, etc. http://issues.apache.org/jira/browse/LOG4PHP Please start all commit comments with a JIRA issue identifier (for example, LOG4PHP-1), so that SVN changes can be cross-referenced with bug repo

Adding umask/chmod to FileAppender?

2007-07-23 Thread Christian Hammers
Hello I have the problem that both my console scripts and a web interface should log into one file which rotates daily. The problem is that a file which gets created by a console script usually has -rw-r--r-- permissions which makes it impossible for the webserver to write into it. More evil log4

svn commit: r558777 - in /incubator/log4php/trunk/src: changes/changes.xml site/apt/index.apt site/apt/usage.apt site/xdoc/usage.xml

2007-07-23 Thread carnold
Author: carnold Date: Mon Jul 23 08:30:51 2007 New Revision: 558777 URL: http://svn.apache.org/viewvc?view=rev&rev=558777 Log: Fix usage.html, tweak index.html and changes.html Added: incubator/log4php/trunk/src/site/apt/usage.apt - copied, changed from r558219, incubator/log4php/trunk

Re: $_ENV vs $_SERVER in LoggerOptionConverter

2007-07-23 Thread Knut Urdalen
Christian Hammers wrote: if (defined($key)) { return (string)constant($key); -} elseif (isset($_ENV[$key])) { -return (string)$_ENV[$key]; +} elseif (isset($_SERVER[$key])) { +return (string)$_SERVER[$key]; } else {