Commit Graph
182 Commits
Author SHA1 Message Date
Gareth Jones d2f30b473f added test to improve levels coverage 2013-06-14 07:28:55 +10:00
Gareth Jones fa179ecba2 added a delay to dateFile test, to let the filesystem catch up 2013-06-06 08:00:34 +10:00
Gareth Jones 11fe5bde5f increased test coverage for smtp appender 2013-06-05 18:30:11 +10:00
Gareth Jones 41ddf5eea7 merged util.format branch (fixes a lint error and simplifies the code) 2013-06-05 08:52:07 +10:00
Gareth Jones 0a2a6c0769 don't create functions in a loop 2013-06-04 08:32:35 +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 87dc7cf5aa more linting 2013-05-30 07:54:42 +10:00
Gareth Jones 913c748ee0 more linting 2013-05-29 08:42:09 +10:00
Gareth Jones def0e8e371 more linting 2013-05-29 08:35:40 +10:00
Gareth Jones 20f80ff775 more linting 2013-05-29 08:29:30 +10:00
Gareth Jones f24db59523 more linting 2013-05-29 08:28:35 +10:00
Gareth Jones 07869b915f more linting 2013-05-27 08:17:32 +10:00
Gareth Jones 2cd27e4293 more linting 2013-05-27 08:15:57 +10:00
Gareth Jones 3d11cbc0ad more linting 2013-05-27 08:14:51 +10:00
Gareth Jones e5dba219d1 more linting 2013-05-27 08:11:24 +10:00
Gareth Jones 9853e13429 more linting 2013-05-27 08:01:00 +10:00
Gareth Jones 4fd138f87d more linting 2013-05-27 07:48:29 +10:00
Gareth Jones 1ad4977aec more linting 2013-05-27 07:44:59 +10:00
Gareth Jones 7cb7e6df72 more linting 2013-05-27 07:41:16 +10:00
Gareth Jones 2192a094b6 more linting 2013-05-26 17:21:39 +10:00
Gareth Jones 6a9441d261 more linting 2013-05-26 17:15:10 +10:00
Gareth Jones 50b676dec5 more linting 2013-05-26 16:51:46 +10:00
Gareth Jones 8b3c036245 more linting 2013-05-26 16:41:31 +10:00
Gareth Jones b356dec318 Getting my lint on (via bob) 2013-05-25 14:00:06 +10:00
Gareth Jones 4e8fb26099 Missed out the smtp test 2013-05-25 13:08:43 +10:00
Issac Goldstand dc632f4705 Fixes bug introduced in github issue #132 where file rolling needs to be handled differently for alwaysIncludePattern streams 2013-05-11 23:01:28 +03:00
Issac Goldstand 8c12c948d9 Fixes bug in detecting empty options (see issue #132 on github) 2013-05-08 12:05:32 +03:00
Gareth Jones 936ad4da8e fixed tests broken by alwaysIncludePattern 2013-05-05 13:44:01 +10:00
Gareth Jones 097ae3d7f1 Merge branch 'alwaysIncludePattern' of https://github.com/issacg/log4js-node into isaacg-alwaysIncludePattern 2013-05-04 16:10:02 +10:00
Issac Goldstand 04de4ed8d3 fix OS-specific endline mucking test results (:-O not everyone uses linux?!?!) 2013-05-03 11:14:28 +03: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
Gareth Jones ed7462885f backporting new streams to node 0.8 for issue #129 2013-04-11 21:45:16 +10:00
Gareth Jones 22160f90b3 fixed the multiprocess tests 2013-04-02 11:59:45 +11: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
Gareth Jones f272e3fd0a Merge branch 'master' into util.format 2013-02-25 16:43:03 +11:00
Jan Schmidle e4bf405f20 add your own tokens to the patternLayout 2013-02-08 14:54:18 +01:00
Gareth Jones 0dbc4921a3 Changed layouts to use util.format instead of my own implementation 2013-01-11 15:35:00 +11:00
Friedel Ziegelmayer 4a7a90ed53 [feature] Add color option to pattern layout.
Based on #90 this implements the possibillity to add the color codes
according to the log level via %[ and %].
2012-12-02 23:41:59 +01:00
Gareth Jones a9307fd6da fix for issue #100, multiprocess appender and logLevelFilter don't play nicely 2012-11-09 16:02:16 +11:00
Daniel Bell bdfa7f9a9b Delete LOG4JS_CONFIG environment variable after test has finished. 2012-10-16 10:55:30 +11:00
Daniel Bell ad63b801f7 Check environment variable LOG4JS_CONFIG for configuration file location. 2012-10-16 08:36:26 +11:00
Gareth Jones 2b889fe776 Working date rolling file appender. 2012-09-25 08:16:59 +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 de72005e7e Fixed layout stack trace test 2012-08-14 09:44:43 +10:00
Aleksey V Zapparov 3f10b68c30 Add test for amount of exit listeners in FA 2012-08-09 15:15:28 +02:00
osher f948b5f5cd Add unit tests - layouts-test.js 2012-08-01 10:11:37 +03:00