Skip to content

Commit 8d4bdc4

Browse files
committed
No longer use message as a key in logger context
This break message parsing in our log store.
1 parent 83d2862 commit 8d4bdc4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/services/dgg-rolling-chat-cache.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ class ChatCache {
8686
return;
8787
}
8888
this.messageMatching.getLinks(message).forEach((link) => {
89-
this.logger.info({ user, url: link.hostname + link.pathname, message }, 'Cached viewer url');
89+
this.logger.info(
90+
{ user, url: link.hostname + link.pathname, msg: message },
91+
'Cached viewer url',
92+
);
9093
if (!_.has(this.viewerUrlMap, user)) this.viewerUrlMap[user] = [];
9194
this.viewerUrlMap[user].push({
9295
url: link.hostname + link.pathname,

0 commit comments

Comments
 (0)