Remove noise from logs

This commit is contained in:
Basti 2021-09-13 13:18:25 +02:00
parent 15af899e1d
commit 0b517400b1

View File

@ -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');