Rami Cohen
0e13be9f91
chore: upgraded dev deps
2017-11-12 19:14:23 -07:00
Gareth Jones
4333261721
fix(levels): added level configuration, fixed smtp appender
2017-03-09 08:28:41 +11:00
e-cloud
7d9dc55ff2
style: upgrade eslint and format the code
...
no logic changed.
2016-12-12 21:04:34 +08:00
e-cloud
8274ea0a8d
refactor: appenders/smtp.js
2016-07-15 21:34:47 +08:00
e-cloud
5328e03802
refactor: just format code according to the editor config(tests passed)
2016-07-14 17:36:30 +08:00
Hugues Malphettes
3be1c25455
Replace async by native recursions
2016-01-15 11:59:47 +08:00
Guillaume Chauvet
0936052f65
Refactoring: removing redundant check
2015-12-09 11:03:59 +01:00
Guillaume Chauvet
9df030c32c
Fix typo
2015-11-27 15:10:52 +01:00
Guillaume Chauvet
fb9fee9c54
implementation for sending logs as email attachment instead of body content
2015-11-27 14:30:21 +01:00
Guillaume Chauvet
273aaf68b1
Sends a single email with remaining logs when shutdown is called
2015-11-23 11:07:51 +01:00
Guillaume Chauvet
5db457beee
Format source code
2015-11-19 15:45:17 +01:00
Edward Zborowski
5f3a0f293a
Use a nodemailer transport plugin if transport option is provided
2015-07-08 21:41:08 -04:00
hasegawa-jun
ebfcf94db3
make sure to call require()
2015-04-17 10:08:00 +09:00
Gareth Jones
eb87ccb78d
Merge pull request #277 from hasegawa-jun/shutdown-smtp-appender
...
Implemented shutdown function for SMTP appender
2015-04-17 08:12:17 +10:00
Gareth Jones
8360bb732c
Merge pull request #282 from qbrandon/master
...
Add appender-level timezone offset config
2015-04-17 08:10:15 +10:00
alawatthe
57fc9e7aa0
The smtp appender now works with the current version of nodemailer
2015-04-11 12:03:14 +02:00
Quentin Brandon
af69eddd1c
Add optional timezoneOffset config for appenders
...
Example:
log4js.configure({
appenders: [{type: 'console', timezoneOffset: -540}],
replaceConsole: true
});
The expected value is the equivalent of (new Date).getTimezoneOffset()
In this example, -540 is the value for JST.
This allows machines members of world-wide-spread cluster to all report
log time-stamps using the same timezone (or adapt the timezone to a
local different from the system)
2015-03-20 11:51:23 +09:00
hasegawa-jun
4dfe14a0c2
added shutdownTimeout option
2015-03-17 09:25:22 +09:00
hasegawa-jun
adfad9ad20
Implemented shutdown function for SMTP appender
2015-03-04 09:13:30 +09:00
sc2bigjoe
1629e01df9
Update smtp.js
...
added the ability for smtp appender to send message as html instead of plaintext. in your log4js.config file simply include "html": "true", to write out as html, otherwise it will send plaintext
2014-12-17 11:28:50 -05: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
8492519e3b
Fixing issue #137
2013-05-25 13:04:48 +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
druciak
537f1058b9
Add SMTP appender
2011-11-08 08:56:21 +01:00