Commit Graph

191 Commits

Author SHA1 Message Date
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
Daniel Bell
e6b69ff7f2 Added more documentation on new functionality. 2011-07-22 15:59:17 +10:00
Daniel Bell
69e64932b1 Added functionality to reload configuration file periodically. 2011-07-22 14:43:33 +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
Gareth Jones
d0b4563ba0 fixed small bug checking for stack on undefined object 2011-07-20 19:39:54 +10:00
Gareth Jones
aac8ca0eb0 updated npm version number 2011-07-19 09:44:47 +10:00
Gareth Jones
0968c6709f fixed connect-logger 2011-07-19 09:08:15 +10:00
Gareth Jones
800f0d6bf6 updated npm version number 2011-07-18 09:17:36 +10:00
Gareth Jones
71fe001278 fixed tests to cover writestream 2011-07-17 20:49:39 +10:00
Gareth Jones
3d27140a9d changed fileappender to use writeStream instead of fs.write, tests don't work 2011-07-17 12:28:26 +10:00
Gareth Jones
d64d4ca0ca updated to remove TODO and credit danbell 2011-07-15 09:13:09 +10:00
Gareth Jones
b338b34fd6 added tests for pattern layout 2011-07-15 08:22:44 +10:00
Gareth Jones
3691648cd0 fixed patternlayout, needs tests though 2011-07-13 18:42:56 +10:00
Gareth Jones
d7ffa59434 moved level colours into layouts where they belong, updated README 2011-07-13 18:29:53 +10:00
Gareth Jones
5868856a7d all tests pass, now with proper console.log formatting 2011-07-13 18:12:29 +10:00
Gareth Jones
f89d54b66e removed main function, now using felixge's sandboxed-module, split code into multiple files 2011-07-12 13:03:17 +10:00
Gareth Jones
e121ca345a removed main function, now using felixge's sandboxed-module, split code into multiple files 2011-07-12 13:02:48 +10:00
Gareth Jones
8767cda15f removed the extensions to Date, put them in their own library 2011-07-08 08:15:13 +10:00
Gareth Jones
8eaff77974 Merge pull request #14 from AlexanderS/master
Global log level
2011-06-04 20:41:04 -07:00
Alexander Sulfrian
d7a97366cb global log level is now set via the log4js object 2011-05-30 13:26:30 +02:00
Alexander Sulfrian
a1681f5579 added tests for global loglevel 2011-05-29 04:46:05 +02:00
Alexander Sulfrian
1fa9d029a2 added possibility to define global and local log levels 2011-05-19 15:25:13 +02:00
csausdev
ffdfca7d99 fixing some formatting problems 2011-04-17 18:25:00 +10:00
csausdev
1ee8cfcd74 removed a mention of console.log 2011-04-17 17:55:42 +10:00
csausdev
f386f003be removed the console.log replacement from the readme 2011-04-17 17:48:51 +10:00
csausdev
9f4878d82c Disabling the console.log replacement 2011-04-17 17:46:13 +10:00
csausdev
d9bfc5db44 Added devDependencies for npm 2011-04-17 17:29:22 +10:00
csausdev
a50c02a3e5 Added coloured layout to configuration (thanks @melin) 2011-04-17 17:20:49 +10:00
Daniel Bell
59f7e0af3c Added connect/express logger. 2011-04-07 10:19:18 +10:00
Daniel Bell
3f95e02cba Merged latest changes from upstream. 2011-04-07 10:01:15 +10:00
csausdev
540a683566 moved logLevelFilter tests to vows 2011-04-07 07:21:24 +08:00
csausdev
c74120e499 moved Date tests to vows format 2011-04-07 07:21:24 +08:00
csausdev
6f79694904 added messagePassThroughLayout to vows tests 2011-04-07 07:21:23 +08:00
csausdev
47fcb2233d Added log rolling to config files 2011-04-07 07:21:23 +08:00
csausdev
fb8b4554e1 added a log rolling function to file appender 2011-04-07 07:21:22 +08:00
csausdev
0258fda93c added test for log roller, not written yet 2011-04-07 07:21:22 +08:00
csausdev
80e3ed7174 added masylum's coloured layout function 2011-04-07 07:21:22 +08:00
Gareth Jones
838f0c8f28 Added loading of config from require paths, and now defaults to console appender with basic layout 2011-04-07 07:21:21 +08:00
csausdev
9364a8a442 fixed example to work with refactoring 2011-04-07 07:21:20 +08:00
csausdev
76fea28bbb refactoring to allow dependency injection 2011-04-07 07:21:20 +08:00
csausdev
fc3d50846d initial refactoring to allow dependency injection 2011-04-07 07:21:19 +08:00
csausdev
f21fa2bcf8 changed array detection (thanks fkei) 2011-03-04 19:52:48 +11:00
csausdev
71459ab6d3 changed array detection (thanks fkei) 2011-03-04 19:49:43 +11:00
csausdev
079edd19c8 bumped version, added configure(object) to README 2011-01-16 13:24:07 +11:00
csausdev
a876dfbe9c configure now takes a filename or object 2011-01-16 13:21:37 +11:00
csausdev
c6dd2398ab Persist logging config across invocations 2011-01-16 13:05:13 +11:00