You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Andrew Revak (JIRA)" <ji...@apache.org> on 2015/05/06 10:42:00 UTC
[jira] [Commented] (LOG4PHP-222) MongoDb appender class Mongo
Deprecated
[ https://issues.apache.org/jira/browse/LOG4PHP-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530153#comment-14530153 ]
Andrew Revak commented on LOG4PHP-222:
--------------------------------------
I had a fix for this, let me dig it up and I will submit as a patch.
> MongoDb appender class Mongo Deprecated
> ---------------------------------------
>
> Key: LOG4PHP-222
> URL: https://issues.apache.org/jira/browse/LOG4PHP-222
> Project: Log4php
> Issue Type: Bug
> Reporter: Nicola Anghelè
>
> Hi , I'm using the MongoDb appender on MAMP php version 5.5.18.
> I get this deprecation error
> LoggerAppenderMongoDB::activateOptions(): The Mongo class is deprecated, please use the MongoClient class in ..vendor/apache/log4php/src/main/php/appenders/LoggerAppenderMongoDB.php on line 125
> Are you planning to move to MongoClient ? On my development platform I have to disable E_DEPRECATED since in zend framework those kind of errors rise an exception.
> Thank you.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)