forked from log4mongo/log4mongo-php
-
Notifications
You must be signed in to change notification settings - Fork 0
log4php appender to MongoDB database.
License
xwuxin/log4mongo-php
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
log4mongo-php =============== log4mongo-php is log4php appender to MongoDB database. log4mongo-php is using mongodb-php driver - http://www.php.net/manual/en/book.mongo.php Requirements ============ - 5.x > required - php MongoDB driver - log4php - tested against MongoDB 1.6.5, mongo php driver 1.1.0, log4php - SVN Revision 1051446 Configuration ============= Example appender XML configuration:: <appender name="MongoAppender" class="LoggerAppenderMongoDB" threshold="WARN"> <!-- MongoDB connection options --> <host value="localhost" /> <port value="27017" /> <databaseName value="log4php_mongodb" /> <collectionName value="logs" /> <!-- Uncomment following for MongoDB authentication See http://www.mongodb.org/display/DOCS/Security+and+Authentication <userName value="char0n" /> <password value="mysecretpass" /> --> </appender> Author ====== char0n (Vladimir Gorej) <[email protected]> Credits ======= Special credits to Jozef Sevcik for inspiration writing this appender References ========== [1] http://www.mongodb.org/ [2] http://incubator.apache.org/log4php/ [3] http://www.php.net/manual/en/book.mongo.php [4] http://github.com/mongodb/mongo-php-driver/downloads [5] http://downloads.php.net/pierre/ (search mongo)
About
log4php appender to MongoDB database.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published