diff --git a/src/chat-messages.js b/src/chat-messages.js index 5d33754..76a4eec 100644 --- a/src/chat-messages.js +++ b/src/chat-messages.js @@ -360,7 +360,7 @@ const ChatMessages = function (privateClient, publicClient) { * @private */ _updateDocument (archive, messages) { - console.debug('[chat-messages] Updating archive document', archive); + console.debug('[chat-messages] Updating archive document'); if (Array.isArray(messages)) { messages.forEach(function(message) { @@ -545,7 +545,7 @@ const ChatMessages = function (privateClient, publicClient) { * @private */ _sync (obj) { - console.debug('[chat-messages] Writing archive object', obj); + console.debug(`[chat-messages] Writing archive object with ${obj.today.messages.length} messages`); return this.client.storeObject('daily-archive', this.path, obj).then(function(){ console.debug('[chat-messages] Archive written to remote storage');