Panu Horsmalahti
8d229cff89
Added MIT license type to package.json
2014-02-18 15:00:12 +02:00
Yurij Mikhalevich
3761a0276c
Updated to version 0.4.3:
...
* added basic SSL support;
* added support to authenticate against a different DB to the one being logged to;
* fixed issue where a capped collection wasn't being created when a username/password was supplied.
2013-11-20 10:02:37 +04:00
Yurij Mikhalevich
5000a748f9
Merge pull request #23 from stevedalby/master
...
Added SSL support and support for authentication against a different database
2013-11-19 21:57:29 -08:00
Steve D
d874013ea1
Added basic SSL support.
...
Added support to authenticate against a different DB to the one being logged to.
Fixed issue where a capped collection wasn't being created when a username/password was supplied.
2013-11-19 15:28:05 +00:00
Yurij Mikhalevich
b7e34a40b4
Updated README.md to correspond new default collection name
2013-09-09 10:07:11 +04:00
Yurij Mikhalevich
e6665904e9
updated version
2013-09-05 14:56:10 +04:00
Yurij Mikhalevich
be59d78689
Updated documentation
2013-09-05 14:48:45 +04:00
Yurij Mikhalevich
0ea09de5b6
added .npmignore
2013-09-05 14:38:15 +04:00
Yurij Mikhalevich
f55a214442
Merge pull request #20 from 39dotyt/master
...
Updated dependencies and added 'storeHost' and 'nativeParser' options
2013-09-05 03:32:00 -07:00
Yurij Mikhalevich
17bcb5678d
added option storeHost, if it is set to true adds 'hostname' field to mongodb entry with os.hostname()
2013-09-05 14:24:22 +04:00
Yurij Mikhalevich
52354051b8
updated dependencies (mongodb -> 1.3.x) and added 'nativeParser' option.
2013-09-05 14:18:23 +04:00
Yurij Mikhalevich
2cc697e1f9
Merge pull request #1 from indexzero/master
...
Get update.
2013-09-05 02:29:02 -07:00
Yurij Mikhalevich
d95cb3b9e6
Merge pull request #18 from dev0x10/master
...
Changed default collection name using plural ('log' to 'logs')
2013-09-05 02:23:41 -07:00
dev0x10
ffd59a2ece
change default collection name using plural ('log' to 'logs')
...
Not to confuse people who uses mongoose to query the log. Mongoose using plural collection name.
2013-08-13 10:44:42 +08:00
Charlie Robbins
e2fcba82c5
Merge pull request #15 from awlawl/master
...
Updated readme.md
2013-01-14 17:33:07 -08:00
awlawl
e451477e2a
https instead
...
oops
2013-01-14 16:44:24 -05:00
awlawl
bb791ba796
Corrected winston github url
...
While I was in there...
2013-01-14 16:41:26 -05:00
awlawl
9170bf9afe
Adding username and password options
...
Updating documentation to show that there are username and password options.
2013-01-14 16:39:33 -05:00
Charlie Robbins
f65edf95d7
Merge pull request #11 from mfrobben/patch-1
...
Update README.md
2012-11-29 04:29:57 -08:00
Matthew Robben
6f3421e235
Update README.md
...
Typo in parameter name could mislead your callers.
2012-11-09 16:17:50 -05:00
Christopher Jeffrey
426ef3ba0b
[dist] v0.4.0
2012-05-30 16:52:39 -05:00
Christopher Jeffrey
37321d9375
[minor] remove commented alternatives for now.
2012-05-26 09:29:39 -05:00
Christopher Jeffrey
e1576ae5a6
[api] fix `start` option for stream and streamPoll methods.
2012-05-23 21:12:31 -05:00
Christopher Jeffrey
ae565aab3e
[api] better error handling for querying and streaming.
2012-05-17 13:26:58 -05:00
Christopher Jeffrey
a6f21159b6
[minor] change `max` TODO comment.
2012-05-17 13:19:14 -05:00
Christopher Jeffrey
ee96d20b67
[api] always delete _id for consistency.
2012-05-17 13:17:06 -05:00
Christopher Jeffrey
ca37830c7f
[minor] clean up comments.
2012-05-17 12:12:06 -05:00
Christopher Jeffrey
72e2c454d9
[api] add querying and streaming. optional capped collection.
2012-05-17 12:04:29 -05:00
Christopher Jeffrey
d150a1d29d
[test] use winston transport tests.
2012-05-16 17:14:11 -05:00
Christopher Jeffrey
d679c4ab17
[api] cleanup and improve stream method.
2012-05-16 17:10:39 -05:00
Christopher Jeffrey
60d7bc74f9
[api] clone meta before creating entry.
2012-05-16 17:07:54 -05:00
Christopher Jeffrey
a9491b8c9a
[api] first pass at query and stream.
2012-05-16 17:05:58 -05:00
Christopher Jeffrey
754c731a1f
[minor] switch from crlf to lf eol. drop trailing whitespace.
2012-05-11 20:15:15 -05:00
indexzero
ce6cb213d7
[dist] Version bump. 0.3.4
2012-05-10 21:02:30 -04:00
indexzero
fceba7247f
[merge] Merge gh-6
2012-05-10 21:00:02 -04:00
indexzero
70a775a86f
[dist] Bump `devDependencies`
2012-05-10 20:47:42 -04:00
Yosef Dinerstein
b09c893d01
Fix glitch in readme
2012-04-27 11:28:23 +03:00
Yosef Dinerstein
23f0a6532f
Update readme
2012-04-27 11:00:21 +03:00
Yosef Dinerstein
3614ebd38f
Catch errors from mongodb server.
2012-04-27 09:22:07 +03:00
Yosef Dinerstein
1313d64233
Fix state machine handling.
2012-04-06 13:45:27 +03:00
Yosef Dinerstein
d21e46a5d7
Improve connection timeout. Solve race between closing connection on timeout and log entry writing.
...
Simple approach - idle session is the one that is not used, despite the log success of failure.
Upon failure to log, always close the session.
2012-03-30 23:36:51 +03:00
Yosef Dinerstein
d58da59719
Restore original name for the flushing function.
2012-03-18 21:17:37 +02:00
Yosef Dinerstein
caa4957657
A few more fixes for better compatibility with the latest mongodb.
...
Keep connection as long as there is a stream of logs. Close on inactivity.
2012-03-18 21:14:31 +02:00
Yosef Dinerstein
74caf00193
fix timeout setting.
2012-03-17 11:32:59 +02:00
Yosef Dinerstein
a731cbe314
self not this
2012-03-17 02:04:27 +02:00
Yosef Dinerstein
6d107b9bcd
Handle errors coming from mongodb. Don't open mongodb twice - this led to
...
messed state of mongodb and in latest version they fire exception back.
Code refactored a bit for clarity.
2012-03-16 22:42:00 +02:00
Charlie Robbins
4dfbdf51b5
Merge pull request #4 from sktaylor/patch-1
...
mongodb.Connection.DEFAULT_PORT doesn't work with the latest driver, cha...
2012-02-11 19:30:12 -08:00
Yosef Dinerstein
db47e60fc2
Fix calling log callbacks
2012-02-03 13:33:58 +02:00
Yosef Dinerstein
cd53888ab6
Fix errors mishandling that led to an exception:
...
ypeError: Object false has no method 'collection'
at Array.0 (C:\anode\repo\node_modules\winston-mongodb\lib\winston-mongodb.js:74:14)
at flushPending (C:\anode\repo\node_modules\winston-mongodb\lib\winston-mongodb.js:134:21)
at onError (C:\anode\repo\node_modules\winston-mongodb\lib\winston-mongodb.js:144:5)
at C:\anode\repo\node_modules\winston-mongodb\lib\winston-mongodb.js:150:14
at C:\anode\repo\node_modules\winston-mongodb\node_modules\mongodb\lib\mongodb\db.js:170:16
at [object Object].<anonymous> (C:\anode\repo\node_modules\winston-mongodb\node_modules\mongodb\lib\mongodb\connection\server.js:299:7)
at [object Object].emit (events.js:67:17)
at [object Object].<anonymous> (C:\anode\repo\node_modules\winston-mongodb\node_modules\mongodb\lib\mongodb\connection\connection_pool.js:97:15)
at [object Object].emit (events.js:70:17)
at Socket.<anonymous> (C:\anode\repo\node_modules\winston-mongodb\node_modules\mongodb\lib\mongodb\connection\connection.js:386:10)
2012-02-02 21:45:15 +02:00
Kendrick Taylor
fa6214e0b8
mongodb.Connection.DEFAULT_PORT doesn't work with the latest driver, changed to default mongodb port.
2011-11-16 16:53:02 -08:00