From 957df0eb04f1bbd7073d36ab3b9fcaade865e30d Mon Sep 17 00:00:00 2001 From: Oliver Matthews Date: Tue, 4 Mar 2014 14:45:32 +0000 Subject: [PATCH] Don't dump streams to log files. --- services/filestore/app/coffee/FSPersistorManager.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/filestore/app/coffee/FSPersistorManager.coffee b/services/filestore/app/coffee/FSPersistorManager.coffee index 09bbe91255..dd4e39d981 100644 --- a/services/filestore/app/coffee/FSPersistorManager.coffee +++ b/services/filestore/app/coffee/FSPersistorManager.coffee @@ -16,9 +16,9 @@ module.exports = callback err sendStream: ( location, target, sourceStream, callback = (err)->) -> - logger.log location:location, target:target, source:sourceStream, "sending file stream" + logger.log location:location, target:target, "sending file stream" sourceStream.on "error", (err)-> - logger.err location:location, target:target, source:sourceStream, err:err "error on stream to send" + logger.err location:location, target:target, err:err "error on stream to send" LocalFileWriter.writeStream sourceStream, null, (err, fsPath)=> if err? logger.err location:location, target:target, fsPath:fsPath, err:err, "something went wrong writing stream to disk"