Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27062

NetworkInterfaceASIO logging breaks our standard format

      NetworkInterfaceASIO::getDiagnosticString() returns a string that includes newlines, tabs, and other formatting decisions that go against our typical log structure. This makes it harder to automate parsing of mongodb logs.

      2016-10-25T13:22:44.292+0000 W NETWORK  [ReplicaSetMonitor-TaskExecutor-0] Failed to connect to 10.120.3.49:27017, reason: Connection refused
      2016-10-25T13:22:47.766+0000 I REPL     [replication-1] Restarting oplog query due to error: ExceededTimeLimit: Operation timed out, request was RemoteCommand 11504 -- target:logkeeperdb-31.10gen-mci.4085.mongodbdns.com:27017 db:local expDate:2016-10-25T13:22:47.765+0000 cmd:{ getMore: 19683593992, collection: "oplog.rs", maxTimeMS: 5000, term: 18, lastKnownCommittedOpTime: { ts: Timestamp 1477401742000|86, t: 18 } }. Last fetched optime (with hash): { ts: Timestamp 1477401733000|284, t: 18 }[-8518944276581541617]. Restarts remaining: 3
      2016-10-25T13:22:47.766+0000 I ASIO     [NetworkInterfaceASIO-RS-0] Connecting to logkeeperdb-31.10gen-mci.4085.mongodbdns.com:27017
      2016-10-25T13:22:47.766+0000 I REPL     [replication-1] Scheduled new oplog query Fetcher executor: { pool: { inProgressCount: 1 }, queues: { networkInProgress: 2, sleepers: 0 }, unsignaledEvents: 1, shuttingDown: false, networkInterface: "
      NetworkInterfaceASIO Operations' Diagnostic:
      Operation:    Count:   
      Connecting    1        
      In Progress   1        
      Succeeded     5493     
      Canceled..." } source: logkeeperdb-31.10gen-mci.4085.mongodbdns.com:27017 database: local query: { find: "oplog.rs", filter: { ts: { $gte: Timestamp 1477401733000|284 } }, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 60000, term: 18 } query metadata: { $replData: 1, $ssm: { $secondaryOk: true } } active: 1 timeout: 10000ms inShutdown: 0 first: 1 firstCommandScheduler: RemoteCommandRetryScheduler request: RemoteCommand 11530 -- target:logkeeperdb-31.10gen-mci.4085.mongodbdns.com:27017 db:local cmd:{ find: "oplog.rs", filter: { ts: { $gte: Timestamp 1477401733000|284 } }, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 60000, term: 18 } active: 1 callbackHandle.valid: 1 callbackHandle.cancelled: 0 attempt: 1 retryPolicy: RetryPolicyImpl maxAttempts: 1 maxTimeMillis: -1ms
      

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: