Commit Graph
100 Commits
Author SHA1 Message Date
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 4739c65c68 Version 0.5.4 2012-10-16 11:54:21 +11:00
Gareth Jones 892181f88f Merge pull request #98 from danbell/master
Check environment variable LOG4JS_CONFIG for configuration file location.
2012-10-15 17:52:08 -07:00
Gareth Jones 2bfad6362a Version 0.5.3 2012-09-26 09:49:58 +10: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
Gareth Jones 185f343e68 Working date rolling file stream 2012-09-18 08:46:39 +10:00
Gareth Jones be1272cd7c moved streams code around, added stub for DateRollingFileStream 2012-09-05 10:58:28 +10:00
Gareth Jones cbc1dd32f9 fixed up some dodgy tabbing 2012-09-05 08:00:31 +10:00
Gareth Jones a6fb26efb1 Removed mentions of pollInterval (issue #93) 2012-09-04 13:48:35 +10:00
Gareth Jones 012b0d5ed7 version 0.5.2 2012-08-14 10:47:25 +10:00
Gareth Jones de72005e7e Fixed layout stack trace test 2012-08-14 09:44:43 +10:00
Gareth Jones c6a0e58409 Merge pull request #89 from ixti/master
Fix possible memleak with `exit` event handlers
2012-08-13 16:32:08 -07:00
Gareth Jones 54c311842c Merge pull request #86 from osher/patch-3
Update lib/layouts.js
2012-08-01 16:21:01 -07:00
Gareth Jones 40ba24a55d Renamed tests so that vows will pick them up automatically 2012-07-31 14:52:36 +10:00
Gareth Jones e3a20a1746 bumped npm version 2012-07-04 09:28:56 +10: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 3cbae96a97 Changed multiprocess appender to use a single socket per client 2012-07-04 08:45:20 +10:00
Gareth Jones a33e48cb07 Changed multiprocess appender to use a single socket per client 2012-07-04 08:44:50 +10:00
Gareth Jones df491c0b14 Changed multiprocess appender to use a single socket per client 2012-07-04 08:44:16 +10:00
Gareth Jones 6ff1a2499f removed 0.7 added 0.8 2012-07-04 08:33:06 +10:00
Gareth Jones ce2d7df8df Merge pull request #78 from druciak/smtp
SMTP appender migrated to nodemailer 0.3.x
2012-06-28 18:09:04 -07:00
Gareth Jones 1b12265800 Merge branch 'master' of https://github.com/nomiddlename/log4js-node 2012-06-29 10:53:38 +10:00
Gareth Jones 32e9045334 added explanation of console appender 2012-06-29 09:38:23 +10:00
Gareth Jones 1aed671137 added fromreadme.js example, updated README 2012-06-29 09:37:41 +10:00
Gareth Jones 68b47dd51c expanded example to include loading appender programmatically 2012-06-29 09:19:20 +10:00
Gareth Jones 8f9b4444f6 made sure example works with categories 2012-06-29 09:05:18 +10:00
Gareth Jones e49f7107fb example now works 2012-06-29 09:01:42 +10:00
Gareth Jones 6f0dfa0c5f Added note about console.log replacement. 2012-06-04 09:18:58 +10:00
Gareth Jones 82a6bee331 Fixed the wiki links. 2012-06-01 18:15:55 +10:00
Gareth Jones ad7e844d68 bumped npm version 2012-06-01 18:13:00 +10:00
Gareth Jones bef2075c60 moved some docs to the wiki 2012-06-01 18:12:30 +10: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 0ed1a137d6 moved Logger class out of main module 2012-05-31 08:16:22 +10:00
Gareth Jones 33a92b5dd6 Removed some exports that are no longer needed 2012-05-31 08:07:45 +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 05d5265554 updated hook.io version, was breaking travis build 2012-05-29 16:59:26 +10:00
Gareth Jones 9a29d6222e changed minimum node version to 0.6 2012-05-29 16:52:50 +10:00
Gareth Jones 38a89dcf3d manually merged TooTallNate's pull request #62 2012-05-29 16:49:12 +10:00
Gareth Jones 754ac2c5ac changed config loading to be more predictable 2012-05-29 15:50:35 +10:00
Gareth Jones ccc4976206 updated node versions for travis 2012-05-09 16:52:02 +10:00
Gareth Jones 6e7348f8d8 all tests pass 2012-05-09 16:48:52 +10:00
Gareth Jones 61078e88ef fixed the nolog tests 2012-05-09 16:40:27 +10:00
Gareth Jones 613a077a61 fixed test-configureNoLevels 2012-05-09 16:31:01 +10:00
Gareth Jones 68d1c8fa07 Merge pull request #69 from NetDevLtd/feature/setLevelAsymmetry
setLevel vs isLevelEnabled asymmetry
2012-05-08 16:38:55 -07:00
Gareth Jones 216937637d Merge pull request #70 from NetDevLtd/feature/configureNoLevels
log4js.configure({}) resets all loggers' levels to TRACE
2012-05-08 16:37:23 -07:00
Gareth Jones c8157cef5c fixed file appender tests 2012-03-22 09:34:41 +11:00
Gareth Jones 352653dcbe increased the wait for file open, think it is what's breaking travis build 2012-03-20 13:55:38 +11:00
Gareth Jones cff6928761 bumped npm version 2012-03-20 09:39:56 +11:00
Gareth Jones 1fb8962b83 turned off debug in streams (issue #63) 2012-03-20 09:39:15 +11:00
Gareth Jones d276bbc2f8 Bumped version number, added travis status to readme 2012-02-22 14:37:45 +11:00
Gareth Jones e78f4e33ce Fixed issue #51, added tests to cover levels 2012-02-22 14:14:46 +11:00
Gareth Jones 53367785b4 got rid of the __preLog4js stuff from the console.log replacement 2012-02-22 08:53:28 +11: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 37b94cf195 Merge pull request #59 from shripadk/master
Allow passing cwd (__dirname) as an option.
2012-02-09 20:27:29 -08:00
Gareth Jones 2ab6f5fa24 Merge pull request #56 from arifamirani/master
Fixed tests for gelf appender
2012-01-15 14:36:55 -08:00
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
Gareth Jones 4d484ad752 Merge pull request #53 from vincentcr/master
make restoreConsole work
2012-01-11 14:44:16 -08:00
Gareth Jones b4a5227fc0 Merge pull request #49 from Pita/patch-1
Fixed a BUG that prevents connectlogger from working if loglevel is WARN
2011-12-19 15:10:29 -08:00
Gareth Jones b152618dbc made the file tests more robust 2011-12-20 09:59:02 +11:00
Gareth Jones a999d8fc00 Fixed the file appender tests 2011-12-20 08:49:21 +11:00
Gareth Jones 78de73a274 Working version of fully-async log rolling file appender - tests need fixing though 2011-12-19 16:58:21 +11:00
Gareth Jones e5d0b3348f bumped version 2011-11-24 08:40:12 +11:00
Gareth Jones f10a6e164e windows throws an EEXIST error when renaming, need to handle it 2011-11-24 08:37:05 +11:00
Gareth Jones cea3dc97d1 Changes to handle drain events not fired on write in linux & windows - should fix issue #44 2011-11-24 08:20:33 +11:00
Gareth Jones a3a0c55322 version 0.4.0 2011-11-21 16:17:46 +11:00
Gareth Jones 51d48165fd Added travis-ci.org config 2011-11-21 15:07:35 +11:00
Gareth Jones 7d50c45801 Rewrote file appender, fixing issue #16 and issue #31 2011-11-21 15:03:51 +11:00
Gareth Jones 40c5f5ee70 added methods and config to turn off console.log replacement (issue #34) 2011-11-18 08:44:04 +11:00
Gareth Jones 1d769fdf33 added build and node_modules 2011-11-16 08:40:26 +11:00
Gareth Jones bc665b875e vows seems to have removed assert.length, replaced with assert.equal 2011-11-16 08:39:07 +11:00
Gareth Jones 154c0dc299 changed web->url in bugs (issue #41) 2011-11-16 08:21:44 +11:00
Gareth Jones 050fae5230 replaced 'sys' with 'util' (issue #42) 2011-11-16 08:10:20 +11:00
Gareth Jones 342286e062 Merge pull request #40 from druciak/smtp
SMTP appender
2011-11-10 14:06:27 -08:00
Gareth Jones 283a403a11 Merge pull request #37 from dbrain/master
Multiprocess (tcp) appender
2011-11-02 16:03:53 -07:00
Gareth Jones 0a0119300b Merge pull request #32 from dbrain/master
hook.io appender should accept all configuration
2011-10-30 14:47:29 -07:00
Gareth Jones fde66f92f5 Merge branch 'master' of https://github.com/csausdev/log4js-node 2011-10-31 08:42:58 +11:00
Gareth Jones b2827076da Merge pull request #30 from dbrain/master
hook.io appender
2011-10-27 15:22:35 -07:00
Gareth Jones 75e5584060 Merge pull request #24 from cliffano/master
Add sandboxed-module to devDependencies
2011-09-14 18:15:28 -07:00
Gareth Jones 2a06048114 added ignore files 2011-09-15 08:28:12 +10:00
Gareth Jones 9a34d9edfd fixed missing space between log data elements 2011-09-15 08:18:24 +10:00
Gareth Jones 12e71bda4e fixed to work with node 0.5.x 2011-09-15 08:13:04 +10:00
Gareth Jones 53a481d4da Added filtering to appender loader - was choking on .svn files 2011-08-11 16:27:37 +10:00
Gareth Jones 8d7b5513fb bumped version number 2011-07-27 21:22:13 +10:00
Gareth Jones d13b2fb3b4 turned off config file reloading by default 2011-07-27 21:21:43 +10:00
Gareth Jones 4f7d73bc97 bumped version number 2011-07-27 10:37:30 +10:00
Gareth Jones 163db0e5fd fixed the behaviour of maxlogsize + 0 backups 2011-07-26 18:40:41 +10:00
Gareth Jones 71f9eef6fe Merge pull request #20 from danbell/master
Added ability to reload configuration file periodically.
2011-07-25 18:16:36 -07:00
Gareth Jones b72182c0cf bumped version number 2011-07-26 09:10:02 +10:00
Gareth Jones ef9fe3a4b1 All tests pass, moved appenders into separate files, so that extra ones can be added easily 2011-07-26 08:52:40 +10:00
Gareth Jones 545681287f working fileappender, with tests, broken everything else 2011-07-24 21:58:02 +10:00
Gareth Jones 80474c6881 got log rolling working, need to fix all the tests 2011-07-22 18:25:55 +10:00
Gareth Jones 7aa076c278 removed the annoying extra new line 2011-07-22 18:25:26 +10:00
Gareth Jones 4b32456db7 fixed a bug where if the first log arg was not a string it wouldn't get logged 2011-07-22 12:28:02 +10:00
Gareth Jones ec21ec63f0 bumped version number 2011-07-21 20:44:04 +10:00
Gareth Jones a9a698cf09 fixed log rolling problem 2011-07-21 20:42:14 +10:00
Gareth Jones 925c280c68 check for existence of destroySoon (does not exist in node v0.2.x) 2011-07-21 19:09:22 +10:00