Gareth Jones
49892f35d3
Merge pull request #149 from mkielar/master
...
Clustered appender for log4js.
11 years ago
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.
11 years ago
Gareth Jones
8ad1cd67e2
formatting fixes, unnecessary code removed
11 years ago
Gareth Jones
c67ab855bb
Merge branch 'master' of https://github.com/nomiddlename/log4js-node
11 years ago
Gareth Jones
4905761f60
Merge pull request #119 from UniversityofWarwick/category-filter
...
Category excluding filter.
11 years ago
Gareth Jones
2a38f460dc
tried adding process.nexttick - didn't help
11 years ago
Gareth Jones
9f77734f74
test case for flush on exit
11 years ago
Gareth Jones
ce8b6b06b9
trying out a shutdown function
11 years ago
Gareth Jones
1e17f88ded
0.6.7
11 years ago
Gareth Jones
d25e1abd48
Merge pull request #142 from crisply/master
...
Allows use of Console Appender when using with node-webkit
11 years ago
Lex
dde2e69948
Getting console appender to work with node-webkit
11 years ago
Gareth Jones
351a912a86
simplified the reload config code a little, moved the tests into their own file, improved coverage
11 years ago
Gareth Jones
c5fd75dac3
removed check on undefined configState.filename - should not happen, and is covered by the statSync anyway
11 years ago
Gareth Jones
4dd5989d27
Merge branch 'master' of https://github.com/nomiddlename/log4js-node
...
Conflicts:
test/gelfAppender-test.js
11 years ago
Gareth Jones
46721465a1
Merge pull request #140 from karlvlam/master
...
Add custom field support to GELF appender
11 years ago
Gareth Jones
76ff7aa5fa
improved coverage of date format
11 years ago
Gareth Jones
be5fa838be
improved coverage of hookio appender
11 years ago
Gareth Jones
a86bed975c
improved coverage of lib/log4js.js
11 years ago
Karl Lam
baaebef2ed
GELF appender - test case covers custom fields, remove unused
...
console.log
11 years ago
Karl Lam
837d007de3
GELF appender can add customFields to config for every message
11 years ago
Karl Lam
be754f0c0e
GELF appender can add custom fields
11 years ago
Gareth Jones
946b216a79
improved coverage of rolling file stream
11 years ago
Gareth Jones
508dbdadf8
improved coverage of gelf appender
11 years ago
Gareth Jones
2e7f6e5a66
improved coverage of logger
11 years ago
Gareth Jones
cbadb5fa19
improved coverage of multiprocess appender
11 years ago
Gareth Jones
c258470cda
improved coverage of file appenders
11 years ago
Gareth Jones
2b070e5470
Fixed a problem when tests run in node 0.8
11 years ago
Gareth Jones
4cd546e8b3
improved coverage of baserollingfilestream
11 years ago
Gareth Jones
0e5da1d361
moved debug fn out to own module, added tests
11 years ago
Gareth Jones
fc7f686f65
improved coverage for console appender
11 years ago
Gareth Jones
4a8f0580de
improved coverage for connect-logger
11 years ago
Gareth Jones
f50fab2b86
improved coverage for connect logger
11 years ago
Gareth Jones
f1c0767ca3
improved coverage
11 years ago
Gareth Jones
652888944b
improved coverage for date_format
11 years ago
Gareth Jones
efc4e36317
improved coverage for layouts
11 years ago
Gareth Jones
d2f30b473f
added test to improve levels coverage
11 years ago
Gareth Jones
fa179ecba2
added a delay to dateFile test, to let the filesystem catch up
11 years ago
Gareth Jones
dd25d30228
rolled back my clever map+join, because it broke the tests
11 years ago
Gareth Jones
11fe5bde5f
increased test coverage for smtp appender
11 years ago
Gareth Jones
41ddf5eea7
merged util.format branch (fixes a lint error and simplifies the code)
11 years ago
Gareth Jones
81fa9c3568
removed unnecessary argument to createNoLogCondition
11 years ago
Gareth Jones
7ca517b5ed
simplified createNoLogCondition
11 years ago
Gareth Jones
6368de1094
refactored pattern layout
11 years ago
Gareth Jones
94dbd22c71
reduced complex function to smaller ones
11 years ago
Gareth Jones
0a2a6c0769
don't create functions in a loop
11 years ago
Gareth Jones
5d6f00eda4
fixed all lint errors except ones which require refactoring of code
11 years ago
Gareth Jones
f998d7e81a
more linting
11 years ago
Gareth Jones
46ae1a586d
more linting
11 years ago
Gareth Jones
516320c79a
more linting
11 years ago
Gareth Jones
40ec9e98e4
more linting
11 years ago