logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject svn commit: r1187689 - /logging/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php
Date Sat, 22 Oct 2011 10:21:30 GMT
Author: ihabunek
Date: Sat Oct 22 10:21:30 2011
New Revision: 1187689

URL: http://svn.apache.org/viewvc?rev=1187689&view=rev
Log:
Stopped option converter from triggering errors when converting to boolean.

Modified:
    logging/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php

Modified: logging/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php?rev=1187689&r1=1187688&r2=1187689&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php (original)
+++ logging/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php Sat Oct 22 10:21:30
2011
@@ -86,7 +86,6 @@ class LoggerOptionConverter {
 			return !($value == 0); // true is everything but 0 like in C 
 		}
 		
-		trigger_error("Could not convert ".var_export($value,1)." to boolean!", E_USER_WARNING);
 		return $default;
 	}
 



Mime
View raw message