Update fileAppender-test.js

This commit is contained in:
wood1986 2013-08-14 17:35:47 +08:00
parent 2d177d517b
commit 1ed026a8d9

View File

@ -222,7 +222,7 @@ vows.describe('log4js fileAppender').addBatch({
, logger; , logger;
//this config file defines one file appender (to ./tmp-tests.log) //this config file defines one file appender (to ./tmp-tests.log)
//and sets the log level for "tests" to WARN //and sets the log level for "tests" to WARN
log4js.configure('test/log4js.json'); log4js.configure('./test/log4js.json');
logger = log4js.getLogger('tests'); logger = log4js.getLogger('tests');
logger.info('this should not be written to the file'); logger.info('this should not be written to the file');
logger.warn('this should be written to the file'); logger.warn('this should be written to the file');