Stefano Graziato
c0aa8c5c86
gitignore
10 years ago
Stefano Graziato
59a6703549
getBufferedLogger tested.
10 years ago
Stefano Graziato
c9e72d0f00
added getBufferedLogger function.
...
This function should be useful when you need to log during async
parallel operations, without having a mess in logs.
For example when you walk asynchronously a directory and you want logs
to be grouped by file.
It returns the same getLogger() object but messages are stored
internally and sent to appenders only when you call the flush() method
on it.
10 years ago
Gareth Jones
a27345461b
altering the timings on some tests to make them slightly less flaky (maybe)
10 years ago
Gareth Jones
fb9948145c
0.6.17
10 years ago
Gareth Jones
0242bae78f
Merge pull request #214 from GregoireDigbil/master
...
Format message before adding loggly metadata
10 years ago
Gareth Jones
b71f635267
Merge pull request #224 from idalv/express_fix
...
Update connect-logger.js to work correctly with express
10 years ago
mishless
66872d136d
Update connect-logger.js to work correctly with express
...
When used with express levels are wrong since send() does not call writeHead, but sets responseCode on response.
10 years ago
Gareth Jones
49849a545a
Merge pull request #219 from PSyton/fix_for_no_dir
...
Make some test windows friendly.
10 years ago
Pavel Sysolyatin
3c4c98bb0b
Make some test windows friendly.
10 years ago
Gareth Jones
eaa77b0454
0.6.16
10 years ago
Gareth Jones
78c604b90d
Merge branch 'mayconbordin-master'
10 years ago
Gareth Jones
4648e7a5e6
Merge branch 'master' of https://github.com/mayconbordin/log4js-node into mayconbordin-master
10 years ago
Gareth Jones
8f3e040786
Merge branch 'RolfKoenders-set-global-log-level'
10 years ago
Gareth Jones
60d2e093ae
Merge branch 'set-global-log-level' of https://github.com/RolfKoenders/log4js-node into RolfKoenders-set-global-log-level
10 years ago
Gareth Jones
a06478632e
Merge 2ion-gelf-spec-v1.1-compliance into master
10 years ago
Gareth Jones
a4d55b3339
fixed up test after merge
10 years ago
Gareth Jones
914ed5356b
Merge pull request #216 from 2ion/gelf-no-full-message
...
GELF appender: don't send full_message field
10 years ago
Jens John
52b4aa1874
fix uninitialized field error
10 years ago
Jens John
2b0a58c2f2
reflect the above changes ; forgot a facility field
10 years ago
Jens John
fcafed9a7e
fix gelfAppender-test.js to reflect the above changes
10 years ago
Jens John
7ff053f104
fix test/gelfAppender-test.js to reflect full_message being gone
10 years ago
Jens John
0f51ab1bb3
GELF appender: set version to 1.1
10 years ago
Jens John
5b2d840472
GELF appender: move facility key into a custom field if present
...
At the same time, don't assign a default value as the field is optional
according to the GELF spec v1.1.
10 years ago
Jens John
ca635fc4b9
GELF appender: don't send full_message field
...
According to the GELF spec v1.1 [1], the full_message field in GELF is
optional. The log4js implemention until now has sent identitical
short_message and full_message fields. Since this does not add any new
information to the log message, I suggest that full_message be dropped
from GELF.
--
[1] http://graylog2.org/gelf#specs
10 years ago
Grégoire Charvet 黑瓜
d65d053bc1
Format message before adding loggly metadata
...
Also removed a throw err inside an asynchronous callback.
10 years ago
Gareth Jones
f44af56f9e
Added link to example app.
10 years ago
Gareth Jones
a703f2dc12
0.6.15
10 years ago
Gareth Jones
b2edbb1146
Merge pull request #175 from devotis/master
...
Loggly appender should not make use of any layout
10 years ago
Gareth Jones
99e7c0981d
Merge pull request #189 from jengler/add-support-for-prerequired-appender-styles
...
Add support for prerequired appender styles
10 years ago
Gareth Jones
06bab894af
Merge pull request #203 from idalv/master
...
Clusterred appender should consider the categories.
10 years ago
Gareth Jones
101739ebef
Merge pull request #209 from Icehunter/patch-1
...
Update for "write after end" uncaught error.
10 years ago
Ryan Wilson
f8ffccffd5
epic day with a forgotten console
10 years ago
Ryan Wilson
7d50b4aeff
removed check for writeable
...
caused broken unit tests
10 years ago
Ryan Wilson
b12200fabc
Update for "write after end" uncaught error.
10 years ago
Vladimir Mitev
f8b6cc7c39
Revert "Update connect-logger.js to work correctly with express"
...
This reverts commit d18fb466fb
.
10 years ago
idalv
6314e4a344
Merge pull request #1 from idalv/automation
...
Update connect-logger.js to work correctly with express
10 years ago
mishless
d18fb466fb
Update connect-logger.js to work correctly with express
...
When used with express levels are wrong since send() does not call writeHead, but sets responseCode on response.
10 years ago
Vladimir Mitev
e638ff7271
Unit test.
...
Fixed the old unit tests.
Added validation for new functionality.
Signed-off-by: Vladimir Mitev <idalv@users.noreply.github.com>
10 years ago
Vladimir Mitev
2daf29b400
Clusterred appender should consider the categories.
...
It turns out that whenever the clusterred appender is used the log event is passed to all actual appenders.
The actual appender's category is ignored.
Signed-off-by: Vladimir Mitev <idalv@users.noreply.github.com>
10 years ago
=
8cf03507dd
Add unit test to check if the level is set on all categories
11 years ago
Gareth Jones
ca5272aacc
0.6.14
11 years ago
Gareth Jones
614127bb10
added shutdown to datefile
11 years ago
Gareth Jones
a549df44b4
Merge pull request #199 from lulurun/fix_file_appender
...
fix shutdown method: make sure to callback when write completed immediat...
11 years ago
Gareth Jones
5e0982f0b1
Merge pull request #200 from lulurun/datefile_appender_fix
...
file won't get rolled if the process restarted daily
11 years ago
Xiaolu Liu
f5a76d9073
file won't get rolled if the process restarted daily
11 years ago
Xiaolu Liu
29d941f0a6
fix shutdown method: make sure to callback when write completed immediately
11 years ago
Gareth Jones
0c2baa9690
0.6.13
11 years ago
Gareth Jones
9b538ee8ed
fixed timezone flakiness
11 years ago
Gareth Jones
e4d5228f2b
Merge branch 'flush-on-exit'
11 years ago