From 56beb5f328abba5bc25c2dd903155933f3ab4e76 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Fri, 30 Dec 2011 16:13:07 +0000 Subject: [PATCH] Added two missing constants. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321558 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongolog.xml | 43 +++++++++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/reference/mongo/mongolog.xml b/reference/mongo/mongolog.xml index 5b4f9c7da5..ac2e1074c3 100644 --- a/reference/mongo/mongolog.xml +++ b/reference/mongo/mongolog.xml @@ -102,6 +102,16 @@ MongoLog::setModule(MongoLog::RS|MongoLog::POOL); int MongoLog::IO + + const + int + MongoLog::SERVER + + + const + int + MongoLog::PARSE + Fields @@ -195,12 +205,20 @@ MongoLog::setModule(MongoLog::RS|MongoLog::POOL); These constants can be used by MongoLog::setModule. - - MongoLog::RS + + MongoLog::IO - Log replica set activity. Failovers, pinging, chosing secondaries to - read from, etc. + Logs traffic to/from the database. Unless your program is trivial, this + will create an enormous number of log messages. + + + + + MongoLog::PARSE + + + Log server string parsing. @@ -213,12 +231,21 @@ MongoLog::setModule(MongoLog::RS|MongoLog::POOL); - - MongoLog::IO + + MongoLog::RS - Logs traffic to/from the database. Unless your program is trivial, this - will create an enormous number of log messages. + Log replica set activity. Failovers, pinging, chosing secondaries to + read from, etc. + + + + + MongoLog::SERVER + + + Log server status changes. Detecting primary, secondary and + duplication detection.