Turned off log timestamp.

This commit is contained in:
Sean Li 2014-09-03 20:39:26 -07:00
parent 5f2cb41440
commit 80bf56c35e
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ AppUtil.logs = function (appId) {
var app = Apps.findOne(appId); var app = Apps.findOne(appId);
if (app.docker && app.docker.Id) { if (app.docker && app.docker.Id) {
var container = docker.getContainer(app.docker.Id); var container = docker.getContainer(app.docker.Id);
container.logs({follow: false, stdout: true, stderr: true, timestamps: true, tail: 300}, function (err, response) { container.logs({follow: false, stdout: true, stderr: true, timestamps: false, tail: 300}, function (err, response) {
if (err) { throw err; } if (err) { throw err; }
Apps.update(app._id, { Apps.update(app._id, {
$set: { $set: {