Gareth Jones
614127bb10
added shutdown to datefile
2014-04-22 10:05:37 +10:00
Xiaolu Liu
29d941f0a6
fix shutdown method: make sure to callback when write completed immediately
2014-04-21 16:27:51 +09:00
Gareth Jones
e4d5228f2b
Merge branch 'flush-on-exit'
2014-04-09 07:37:17 +10:00
John Engler
8ca092cdb9
Removed callback to write, as it is not needed.
2014-04-05 16:14:56 -07:00
Christiaan Westerbeek
770f2da627
Cleanup
2014-01-10 21:59:39 +01:00
Christiaan Westerbeek
eb51aa99be
First working version
...
tried examples/loggly-appender.js [OK]
2014-01-10 21:51:08 +01:00
Christiaan Westerbeek
5286c50375
Added the basic files for Loggly appender
...
appender, example, test
not tested yet!
2014-01-10 21:18:16 +01:00
Emile Cantin
abdba8e56f
Added logic to serialize Error objects correctly
...
This should fix #97 .
2013-09-26 14:55:20 -04:00
Karl Lam
b9bba00d8c
GELF time precision should be millisecond level
2013-09-16 18:31:23 +08:00
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
ce8b6b06b9
trying out a shutdown function
2013-08-05 07:21:12 +10:00
Lex
dde2e69948
Getting console appender to work with node-webkit
2013-07-10 05:07:28 -07: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
Karl Lam
baaebef2ed
GELF appender - test case covers custom fields, remove unused
...
console.log
2013-07-05 15:28:10 +08:00
Karl Lam
837d007de3
GELF appender can add customFields to config for every message
2013-07-05 11:23:59 +08:00
Karl Lam
be754f0c0e
GELF appender can add custom fields
2013-07-05 10:54:31 +08:00
Gareth Jones
0e5da1d361
moved debug fn out to own module, added tests
2013-06-24 08:51:10 +10:00
Gareth Jones
dd25d30228
rolled back my clever map+join, because it broke the tests
2013-06-06 07:53:22 +10:00
Gareth Jones
11fe5bde5f
increased test coverage for smtp appender
2013-06-05 18:30:11 +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
b356dec318
Getting my lint on (via bob)
2013-05-25 14:00:06 +10:00
Gareth Jones
8492519e3b
Fixing issue #137
2013-05-25 13:04:48 +10:00
Gareth Jones
936ad4da8e
fixed tests broken by alwaysIncludePattern
2013-05-05 13:44:01 +10:00
Issac Goldstand
29b02921b6
add option alwaysIncludePattern to dateTime appender to always use the filename with the pattern included when logging
2013-05-02 14:56:33 +03:00
Gary Steven
e58cf201ca
Updated for Node 0.10.x
...
net.createServer no longer emits 'connect' event
2013-03-30 03:23:58 -07:00
Gareth Jones
65e490cbd2
Fixes for version v0.10 streams, breaks log4js for older versions of node
2013-03-20 09:14:27 +11:00
Nick Howes
eb21e10208
Category excluding filter.
...
This filtering appender allows you to choose some category
names that won't be logged to the delegated appender. This
is useful if you have e.g. a category that you use to log
web requests to one file, but want to keep those entries
out of the main log file without having to explicitly list
all the other categories that you _do_ want to include.
Has one option, "exclude", which is a category name or
array of category names. The child appender is set in
"appender", modelled on the logLevelFilter.
2013-02-26 13:27:07 +00:00
Mário Freitas
8e53c6213e
fix: pass options from multiprocess appender to inner appender
2013-02-21 00:06:59 +09:00
Gareth Jones
a9307fd6da
fix for issue #100 , multiprocess appender and logLevelFilter don't play nicely
2012-11-09 16:02:16 +11:00
Gareth Jones
2b889fe776
Working date rolling file appender.
2012-09-25 08:16:59 +10:00
Gareth Jones
9ac61e37f4
Refactored where the exit handler gets added
2012-09-25 07:43:37 +10:00
Aleksey V Zapparov
f832a2ba79
Do not assign multiple exit
handlers for FA
2012-08-09 15:21:30 +02:00
Gareth Jones
7a02f39921
Fallback to \n if os.EOL is not defined
2012-07-04 09:25:08 +10:00
Gareth Jones
b6ba3bce00
Merge branch 'master' of https://github.com/nomiddlename/log4js-node
2012-07-04 09:11:07 +10:00
Gareth Jones
638ce187bb
use os.EOL instead of \n
2012-07-04 08:53:09 +10:00
Gareth Jones
a33e48cb07
Changed multiprocess appender to use a single socket per client
2012-07-04 08:44:50 +10:00
druciak
077302c772
SMTP appender migrated to nodemailer 0.3.x
2012-06-27 18:00:32 +02:00
Gareth Jones
a046523804
Moved Logger into separate file, added support for loading appenders outside log4js, removed 'name' from appender requirements
2012-06-01 11:11:07 +10:00
Gareth Jones
0901794b35
Moved abspath option checking into file appender, log4js options now passed to appenders
2012-05-31 07:50:01 +10:00
Gareth Jones
38a89dcf3d
manually merged TooTallNate's pull request #62
2012-05-29 16:49:12 +10:00
Gareth Jones
cff20b99e3
added more gelf tests
2012-02-13 08:54:35 +11:00
Gareth Jones
0a422e5749
fixed up gelf tests
2012-02-10 18:14:50 +11:00
Gareth Jones
2ab6f5fa24
Merge pull request #56 from arifamirani/master
...
Fixed tests for gelf appender
2012-01-15 14:36:55 -08:00
Arif Amirani
9bad070b8a
Changed tests to not use live udp server as it fails on CI
2012-01-13 13:00:53 +05:30
Gareth Jones
5aaa9fcd50
Merge pull request #54 from arifamirani/master
...
Add support for GELF logging using UDP
2012-01-12 15:00:11 -08:00
Arif Amirani
5bdeaf68d7
Adding gelf as an appender
2012-01-11 16:12:24 +05:30
Vincent Côté-Roy
a5b09b3ead
fix restoreConsole by making console appender not depend on _preLog4js_log
2012-01-05 08:47:15 -05:00
Gareth Jones
a999d8fc00
Fixed the file appender tests
2011-12-20 08:49:21 +11:00