log4php impossible to use whilst error reporting
If you want to look for all errors and warning etc. during testing/debugging using the debug log makes this pretty much impossible due to the number of warnings (mostly Deprecated) that it throws up.
The version of Log4php in vtiger was seemingly released sometime before 12.12.2009... This is the release date of v2.0.0 on the apache log4php project homepage. The most recent version release on the apache homepage is 13.10.2012. There appears to be a new project home on Github[1] which has had some fairly recent commits but I have no idea of this is suitable or not. Anyway - it seems to me that with the amount of Deprecated warnings being generated the current log4php is going to fail bigtime pretty soon. So now would seem to me to be a good time to try and replace/update it?
[1] https://github.com/apache/logging-log4php
Here are some of the errors thrown to a single page load when error reporting is on and Deprecated errors are enabled:
Deprecated: Non-static method LoggerLoggingEvent::getStartTime() should not be called statically in /var/www/html/dev/libraries/log4php.debug/spi/LoggerLoggingEvent.php on line 382
Deprecated: Non-static method LoggerManager::getLoggerRepository() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 120
Deprecated: Non-static method LoggerHierarchy::singleton() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerManager.php on line 103
Deprecated: Non-static method LoggerLevel::getLevelAll() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerRoot.php on line 59
Deprecated: Non-static method LoggerLevel::getLevelAll() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerHierarchy.php on line 118
Deprecated: Non-static method LoggerOptionConverter::toLevel() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 346
Deprecated: Non-static method LoggerLevel::getLevelAll() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 346
Deprecated: Non-static method LoggerLog::debug() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 511
Deprecated: Non-static method LoggerLog::log() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 71
Deprecated: Non-static method LoggerLog::internalDebugging() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 49
Deprecated: Non-static method LoggerLog::debug() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 528
Deprecated: Non-static method LoggerLog::log() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 71
Deprecated: Non-static method LoggerLog::internalDebugging() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 49
Deprecated: Non-static method LoggerOptionConverter::toLevel() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 546
Deprecated: Non-static method LoggerLevel::getLevelDebug() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 546
Deprecated: Non-static method LoggerLevel::toLevel() should not be called statically in /var/www/html/dev/libraries/log4php.debug/helpers/LoggerOptionConverter.php on line 174
Deprecated: Non-static method LoggerLevel::getLevelDebug() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLevel.php on line 252
Deprecated: Non-static method LoggerLog::debug() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 556
Deprecated: Non-static method LoggerLog::log() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 71
Deprecated: Non-static method LoggerLog::internalDebugging() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 49
Deprecated: Non-static method LoggerAppender::singleton() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 574
Deprecated: Non-static method LoggerAppender::singleton() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 587
Deprecated: Non-static method LoggerAppender::factory() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerAppender.php on line 67
Deprecated: Non-static method LoggerLog::debug() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 605
Deprecated: Non-static method LoggerLog::log() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 71
Deprecated: Non-static method LoggerLog::internalDebugging() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 49
Deprecated: Non-static method LoggerOptionConverter::substVars() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 610
Deprecated: Non-static method LoggerLog::debug() should not be called statically in /var/www/html/dev/libraries/log4php.debug/helpers/LoggerOptionConverter.php on line 296
Deprecated: Non-static method LoggerLog::log() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 71
Deprecated: Non-static method LoggerLog::internalDebugging() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 49
Deprecated: Non-static method LoggerLog::debug() should not be called statically in /var/www/html/dev/libraries/log4php.debug/helpers/LoggerOptionConverter.php on line 303
Deprecated: Non-static method LoggerLog::log() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 71
Deprecated: Non-static method LoggerLog::internalDebugging() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 49
Deprecated: Non-static method LoggerLog::debug() should not be called statically in /var/www/html/dev/libraries/log4php.debug/helpers/LoggerOptionConverter.php on line 306
Deprecated: Non-static method LoggerLog::log() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 71
Deprecated: Non-static method LoggerLog::internalDebugging() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 49
Deprecated: Non-static method LoggerLayout::factory() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 618
Deprecated: Non-static method LoggerLog::debug() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 629
Deprecated: Non-static method LoggerLog::log() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 71
Deprecated: Non-static method LoggerLog::internalDebugging() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 49
Deprecated: Non-static method LoggerPropertySetter::setPropertiesByObject() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerPropertyConfigurator.php on line 633
Deprecated: Non-static method LoggerLog::debug() should not be called statically in /var/www/html/dev/libraries/log4php.debug/config/LoggerPropertySetter.php on line 99
Deprecated: Non-static method LoggerLog::log() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 71
Deprecated: Non-static method LoggerLog::internalDebugging() should not be called statically in /var/www/html/dev/libraries/log4php.debug/LoggerLog.php on line 49
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/dev/libraries/log4php.debug/config/LoggerPropertySetter.php on line 102