Skip to content
Snippets Groups Projects
Commit 8536fb64 authored by Austin King's avatar Austin King
Browse files

Updating timestamp to an ISO format globally per lloyd

parent 2af1dac0
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ var filename = path.join(log_path, configuration.get('process_type') + ".log");
exports.logger = new (winston.Logger)({
transports: [new (winston.transports.File)({
timestamp: true,
timestamp: function () { return new Date().toISOString() },
filename: filename,
colorize: true,
handleExceptions: !!process.env['LOG_TO_CONSOLE']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment