Skip to content

Commit

Permalink
Minor update in file logging - removed redundant module name from log…
Browse files Browse the repository at this point in the history
… entry
  • Loading branch information
zone117x committed Jun 26, 2014
1 parent 330e439 commit e0c0f5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion init.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ catch(e){
return;
}

config.version = "v0.98";
config.version = "v0.98.1";

require('./lib/logger.js');

Expand Down
2 changes: 1 addition & 1 deletion lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ global.log = function(severity, system, text, data){

if (logFiles) {
var fileName = logDir + '/' + system + '_' + severity + '.log';
var fileLine = time + ' [' + system + '] ' + formattedMessage + '\n';
var fileLine = time + ' ' + formattedMessage + '\n';
pendingWrites[fileName] = (pendingWrites[fileName] || '') + fileLine;
}
};

0 comments on commit e0c0f5b

Please sign in to comment.