server-snap
server-snap copied to clipboard
mongod leaking messages to syslog
Our snap-installation of Rocket.Chat seems to log some (but not all) messages as a mongod-log-entry to syslog / /var/log/messages. I don't think this is the way it was meant to be:
2022-01-18T09:16:39.708752+01:00 vdl164 mongod.27017[15877]: 2022-01-18T09:16:39.706+0100 I COMMAND [conn253] command parties.rocketchat_message command: insert { insert: "rocketchat_message", documents: [ { _id: "4kJyZM8r5oXhMJZCA", rid: "b3qC6jezD4ZrXyaYQpTt468jazSPRuEm7x", msg: "Message of chat...", ts: new Date(1642493799509), u: { _id: "pTt468jazSPRuEm7x", username: "UNAME", name: "DISPLAYNAME" }, _updatedAt: new Date(1642493799534), urls: [], mentions: [], channels: [], md: [ { type: "PARAGRAPH", value: [ { type: "PLAIN_TEXT", value: "Massage again..." } ] } ] } ], ordered: true, lsid: { id: UUID("8f54931e-12f5-...-bfed3ab6b4a6") }, $clusterTime: { clusterTime: Timestamp(1642493799, 1), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: "parties" } ninserted:1 keysInserted:26 numYields:0 reslen:230 locks:{ ParallelBatchWriterMode: { acquireCount: { r: 1 } }, ReplicationStateTransition: { acquireCount: { w: 1 } }, Global: { acquireCount: { w: 1 } }, Database: { acquireCount: { w: 1 } }, Collection: { acquireCount: { w: 1 } }, Mutex: { acquireCount: { r: 2 } } } flowControl:{ acquireCount: 1, timeAcquiringMicros: 1 } storage:{} protocol:op_msg 171ms
Current installation:
Version
4.3.1
Node-Version
v12.22.8
MongoDB
4.2.17 / wiredTiger (oplog Aktiviert)
Commit Details
HEAD: (21045735b)
Zweig: HEAD