Comparing version 0.0.43 to 0.0.44
@@ -12,3 +12,3 @@ /** | ||
, _ = require('underscore') | ||
, isWriteFile = process.env.WRITE_FILE || true | ||
, isWriteFile = process.env.WRITE_FILE && process.env.WRITE_FILE == 'false' ? false : true | ||
, defaultPath = fs.existsSync('/tmp') ? '/tmp/node.log' : (__dirname + '/../../../node.log') | ||
@@ -34,3 +34,6 @@ , logFile = process.env.LOGPATH ? process.env.LOGPATH : defaultPath | ||
if(isWriteFile) appenders.push(defaultPattern); | ||
if(isWriteFile) { | ||
console.log('>>>>>>>>isWriteFile is true' ); | ||
appenders.push(defaultPattern); | ||
} | ||
@@ -37,0 +40,0 @@ //Default appender |
{ | ||
"name": "nodeutil", | ||
"description": "Node.js Utility", | ||
"version": "0.0.43", | ||
"version": "0.0.44", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Simon Su", |
46408
1160
22