svn: /pear/packages/Log/trunk/ Log/composite.php package.php package.xml tests/composite.phpt

From: Date: Mon, 20 Sep 2010 05:26:20 +0000
Subject: svn: /pear/packages/Log/trunk/ Log/composite.php package.php package.xml tests/composite.phpt
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-60375@lists.php.net to get a copy of this message
jon Mon, 20 Sep 2010 05:26:20 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=303597 Log: The composite handler now opens child handlers lazily (on demand). When logging from the composite level, if a unopened child will respond to a log event, we attempt to open it immediately. The composite handler's opened state will be enabled as soon as the first child handler is successfully opened. We track an overall success state that indicates whether or not all of the relevant child handlers were opened and successfully logged the event. If one handler fails, we still attempt any remaining children, but we consider the overall result a failure. No other changes regarding priorities or masking at the composite level have been introduced, although they might be appropriate changes in the future if backwards compatibility can be maintained. The 'composite' unit test has been updated to reflect these changes. Bug: 17785 Bug: http://pear.php.net/bugs/17785 (unknown) Changed paths: U pear/packages/Log/trunk/Log/composite.php U pear/packages/Log/trunk/package.php U pear/packages/Log/trunk/package.xml U pear/packages/Log/trunk/tests/composite.phpt

Attachment: [text/x-diff] svn-diffs-303597.txt
« previous php.pear.cvs (#60375) next »