Remove noise from logs
This commit is contained in:
parent
15af899e1d
commit
0b517400b1
@ -360,7 +360,7 @@ const ChatMessages = function (privateClient, publicClient) {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
_updateDocument (archive, messages) {
|
_updateDocument (archive, messages) {
|
||||||
console.debug('[chat-messages] Updating archive document', archive);
|
console.debug('[chat-messages] Updating archive document');
|
||||||
|
|
||||||
if (Array.isArray(messages)) {
|
if (Array.isArray(messages)) {
|
||||||
messages.forEach(function(message) {
|
messages.forEach(function(message) {
|
||||||
@ -545,7 +545,7 @@ const ChatMessages = function (privateClient, publicClient) {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
_sync (obj) {
|
_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(){
|
return this.client.storeObject('daily-archive', this.path, obj).then(function(){
|
||||||
console.debug('[chat-messages] Archive written to remote storage');
|
console.debug('[chat-messages] Archive written to remote storage');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user