Browse files

Update readme

  • Loading branch information...
yosefd committed Apr 27, 2012
1 parent 3614ebd commit 23f0a6532f40f678b37cc4d7240c2fc7b0ecf9e7
Showing with 5 additions and 3 deletions.
  1. +5 −3
@@ -37,17 +37,19 @@ The [winston][0] codebase has been growing significantly with contributions and
The MongoDB transport takes the following options. 'db' is required:
-* __level:__ Level of messages that this transport should log.
-* __silent:__ Boolean flag indicating whether to suppress output.
+* __level:__ Level of messages that this transport should log, defaults to 'info'.
+* __silent:__ Boolean flag indicating whether to suppress output, defaults to false.
* __db:__ The name of the database you want to log to. *[required]*
* __collection__: The name of the collection you want to store log messages in, defaults to 'log'.
* __safe:__ Boolean indicating if you want eventual consistency on your log messages, if set to true it requires an extra round trip to the server to ensure the write was committed, defaults to true.
* __host:__ The host running MongoDB, defaults to localhost.
* __port:__ The port on the host that MongoDB is running on, defaults to MongoDB's default port.
+* __errortimeout:__ Reconnect timeout upon connection error from Mongo, defaults to 10 seconds (10000).
+* __timeoout:__ Timeout for keeping idle connection to Mongo alive, defaults to 10 seconds (10000).
*Metadata:* Logged as a native JSON object.
#### Author: [Charlie Robbins](
-#### Contributors: [Kendrick Taylor](
+#### Contributors: [Kendrick Taylor]( [Yosef Dinerstein](

0 comments on commit 23f0a65

Please sign in to comment.