Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-222

MongoDb appender class Mongo Deprecated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. LOG4PHP-222.patch
          3 kB
          Andrew Revak

        Activity

          People

            Unassigned Unassigned
            nanghele Nicola Anghelè
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: