Updated Branches:
  refs/heads/develop d9b26e334 -> 63e20f67a

LOG4PHP-203; added capped collection support for mongo appender to docs.

Signed-off-by: Vladimir Gorej <[email protected]>
Signed-off-by: Ivan Habunek <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/logging-log4php/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4php/commit/63e20f67
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4php/tree/63e20f67
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4php/diff/63e20f67

Branch: refs/heads/develop
Commit: 63e20f67a4a56f97147d9171ddf2c0c00ddaf04a
Parents: d9b26e3
Author: Vladimir Gorej <[email protected]>
Authored: Tue Jan 1 16:37:07 2013 +0100
Committer: Ivan Habunek <[email protected]>
Committed: Tue Jan 1 16:48:07 2013 +0100

----------------------------------------------------------------------
 src/main/php/appenders/LoggerAppenderMongoDB.php |    2 +-
 src/site/xdoc/docs/appenders/mongodb.xml         |   27 ++++++++++++++++-
 2 files changed, 27 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/63e20f67/src/main/php/appenders/LoggerAppenderMongoDB.php
----------------------------------------------------------------------
diff --git a/src/main/php/appenders/LoggerAppenderMongoDB.php 
b/src/main/php/appenders/LoggerAppenderMongoDB.php
index 2eccfcd..4963035 100644
--- a/src/main/php/appenders/LoggerAppenderMongoDB.php
+++ b/src/main/php/appenders/LoggerAppenderMongoDB.php
@@ -30,7 +30,7 @@
  * - **username** - Username used to connect to the database.
  * - **password** - Password used to connect to the database.
  * - **timeout** - For how long the driver should try to connect to the 
database (in milliseconds).
- * - **capped** - Whether the collection should be a fixed size..
+ * - **capped** - Whether the collection should be a fixed size.
  * - **cappedMax** - If the collection is fixed size, the maximum number of 
elements to store in the collection.
  * - **cappedSize** - If the collection is fixed size, its size in bytes.
  * 

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/63e20f67/src/site/xdoc/docs/appenders/mongodb.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/docs/appenders/mongodb.xml 
b/src/site/xdoc/docs/appenders/mongodb.xml
index bd327b9..a1b99f8 100644
--- a/src/site/xdoc/docs/appenders/mongodb.xml
+++ b/src/site/xdoc/docs/appenders/mongodb.xml
@@ -97,6 +97,27 @@
                                                        <td>3000</td>
                                                        <td>For how long the 
driver should try to connect to the database (in milliseconds).</td>
                                                </tr>
+                        <tr>
+                            <td>capped</td>
+                            <td>integer</td>
+                            <td>No</td>
+                            <td>false</td>
+                            <td>Whether the collection should be a fixed 
size.</td>
+                        </tr>
+                        <tr>
+                            <td>cappedMax</td>
+                            <td>integer</td>
+                            <td>No</td>
+                            <td>1000</td>
+                            <td>If the collection is fixed size, the maximum 
number of elements to store in the collection.</td>
+                        </tr>
+                        <tr>
+                            <td>cappedSize</td>
+                            <td>integer</td>
+                            <td>No</td>
+                            <td>1000000</td>
+                            <td>If the collection is fixed size, its size in 
bytes.</td>
+                        </tr>
                                        </tbody>
                                </table>
                        </subsection>
@@ -110,7 +131,11 @@
                                                </tr>
                                        </thead>
                                        <tbody>
-                                               <tr>
+                        <tr>
+                            <td><code>3.0.0</code></td>
+                            <td>Added support for capped collections.</td>
+                        </tr>
+                        <tr>
                                                        
<td><code>2.2.0</code></td>
                                                        <td>Added the 
<code>timeout</code> parameter.</td>
                                                </tr>

Reply via email to