Gareth Jones
6aacb0da0b
Merge pull request #195 from jengler/flush-on-exit
...
Flush on exit
11 years ago
John Engler
6e3da6f44b
Added error throwing when error loading test file.
...
This will hopefully give us better visibility into our Travis CI
build failures.
11 years ago
John Engler
3b5eb28115
Update dateFile EOL usage to be consistent with appender.
...
From the looks of the Travis CI failure, this could be the issue
causing failures. Not sure as I can't reproduce locally. However,
it is still an inconsistency and worth fixing.
11 years ago
John Engler
633ed3cddb
Support for disabling log writes on shutdown.
...
Updated logger.js to support disabling all log writes.
Updated log4js.js shutdown function to disable log writes.
Added tests.
Update gitignore to ignore rolling date stream's test output.
11 years ago
John Engler
8ca092cdb9
Removed callback to write, as it is not needed.
11 years ago
John Engler
3ec9811b5e
Update log4js module to expose a shutdown function.
...
loadAppender will check for a shutdown function exposed by
a loaded appender. If present, it will be cached so that the
shutdown function can execute it.
The intent here is that a Node application would not invoked
process.exit until after the log4js shutdown callback returns.
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