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 "Nicola Anghelè (JIRA)" <ji...@apache.org> on 2015/03/12 16:33:38 UTC

[jira] [Created] (LOG4PHP-222) MongoDb appender class Mongo Deprecated

Nicola Anghelè created LOG4PHP-222:
--------------------------------------

             Summary: 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)