Marcin Kielar
61beac28d3
Clustered appender for log4js.
...
+ lib/appenders/clustered.js
+ test/clusteredAppender-test.js
Instead os using sockets (like multiprocess) or dead and unmaintained hook.io, Clustered appender
uses process.send(message) / worker.on('message', callback) mechanisms for transporting data
between worker processes and master logger.
Master logger takes an "appenders" array of actual appenders that are triggered when worker appenders send some data.
This guarantees sequential writes to appenders, so the log messages are not mixed in single lines of log.
2013-08-09 00:04:25 +02:00
Gareth Jones
8ad1cd67e2
formatting fixes, unnecessary code removed
2013-08-05 11:40:59 +10:00
Gareth Jones
4905761f60
Merge pull request #119 from UniversityofWarwick/category-filter
...
Category excluding filter.
2013-08-04 18:25:32 -07:00
Gareth Jones
351a912a86
simplified the reload config code a little, moved the tests into their own file, improved coverage
2013-07-09 09:24:11 +10:00
Gareth Jones
4dd5989d27
Merge branch 'master' of https://github.com/nomiddlename/log4js-node
...
Conflicts:
test/gelfAppender-test.js
2013-07-08 15:24:29 +10:00
Gareth Jones
76ff7aa5fa
improved coverage of date format
2013-07-08 08:51:42 +10:00
Gareth Jones
be5fa838be
improved coverage of hookio appender
2013-07-08 08:46:11 +10:00
Gareth Jones
a86bed975c
improved coverage of lib/log4js.js
2013-07-08 08:18:48 +10:00
Karl Lam
baaebef2ed
GELF appender - test case covers custom fields, remove unused
...
console.log
2013-07-05 15:28:10 +08:00
Gareth Jones
946b216a79
improved coverage of rolling file stream
2013-07-05 08:36:42 +10:00
Gareth Jones
508dbdadf8
improved coverage of gelf appender
2013-07-05 08:04:16 +10:00
Gareth Jones
2e7f6e5a66
improved coverage of logger
2013-07-01 08:24:29 +10:00
Gareth Jones
cbadb5fa19
improved coverage of multiprocess appender
2013-07-01 08:24:06 +10:00
Gareth Jones
c258470cda
improved coverage of file appenders
2013-06-28 08:44:54 +10:00
Gareth Jones
2b070e5470
Fixed a problem when tests run in node 0.8
2013-06-28 07:55:25 +10:00
Gareth Jones
4cd546e8b3
improved coverage of baserollingfilestream
2013-06-27 08:46:18 +10:00
Gareth Jones
0e5da1d361
moved debug fn out to own module, added tests
2013-06-24 08:51:10 +10:00
Gareth Jones
fc7f686f65
improved coverage for console appender
2013-06-18 08:47:32 +10:00
Gareth Jones
4a8f0580de
improved coverage for connect-logger
2013-06-18 08:47:18 +10:00
Gareth Jones
f50fab2b86
improved coverage for connect logger
2013-06-17 16:01:22 +10:00
Gareth Jones
f1c0767ca3
improved coverage
2013-06-17 16:01:03 +10:00
Gareth Jones
652888944b
improved coverage for date_format
2013-06-17 16:00:42 +10:00
Gareth Jones
efc4e36317
improved coverage for layouts
2013-06-14 08:13:16 +10:00
Gareth Jones
d2f30b473f
added test to improve levels coverage
2013-06-14 07:28:55 +10:00
Gareth Jones
fa179ecba2
added a delay to dateFile test, to let the filesystem catch up
2013-06-06 08:00:34 +10:00
Gareth Jones
11fe5bde5f
increased test coverage for smtp appender
2013-06-05 18:30:11 +10:00
Gareth Jones
41ddf5eea7
merged util.format branch (fixes a lint error and simplifies the code)
2013-06-05 08:52:07 +10:00
Gareth Jones
0a2a6c0769
don't create functions in a loop
2013-06-04 08:32:35 +10:00
Gareth Jones
5d6f00eda4
fixed all lint errors except ones which require refactoring of code
2013-06-04 08:17:36 +10:00
Gareth Jones
87dc7cf5aa
more linting
2013-05-30 07:54:42 +10:00
Gareth Jones
913c748ee0
more linting
2013-05-29 08:42:09 +10:00
Gareth Jones
def0e8e371
more linting
2013-05-29 08:35:40 +10:00
Gareth Jones
20f80ff775
more linting
2013-05-29 08:29:30 +10:00
Gareth Jones
f24db59523
more linting
2013-05-29 08:28:35 +10:00
Gareth Jones
07869b915f
more linting
2013-05-27 08:17:32 +10:00
Gareth Jones
2cd27e4293
more linting
2013-05-27 08:15:57 +10:00
Gareth Jones
3d11cbc0ad
more linting
2013-05-27 08:14:51 +10:00
Gareth Jones
e5dba219d1
more linting
2013-05-27 08:11:24 +10:00
Gareth Jones
9853e13429
more linting
2013-05-27 08:01:00 +10:00
Gareth Jones
4fd138f87d
more linting
2013-05-27 07:48:29 +10:00
Gareth Jones
1ad4977aec
more linting
2013-05-27 07:44:59 +10:00
Gareth Jones
7cb7e6df72
more linting
2013-05-27 07:41:16 +10:00
Gareth Jones
2192a094b6
more linting
2013-05-26 17:21:39 +10:00
Gareth Jones
6a9441d261
more linting
2013-05-26 17:15:10 +10:00
Gareth Jones
50b676dec5
more linting
2013-05-26 16:51:46 +10:00
Gareth Jones
8b3c036245
more linting
2013-05-26 16:41:31 +10:00
Gareth Jones
b356dec318
Getting my lint on (via bob)
2013-05-25 14:00:06 +10:00
Gareth Jones
4e8fb26099
Missed out the smtp test
2013-05-25 13:08:43 +10:00
Issac Goldstand
dc632f4705
Fixes bug introduced in github issue #132 where file rolling needs to be handled differently for alwaysIncludePattern streams
2013-05-11 23:01:28 +03:00
Issac Goldstand
8c12c948d9
Fixes bug in detecting empty options (see issue #132 on github)
2013-05-08 12:05:32 +03:00