Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-1060

Provide more specific context for log messages

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      A user recently had trouble understanding the context and effect of the log message below:

      2016-01-28T21:30:18.817+0000 error: E11000 duplicate key error collection: db.coll index: _id_ dup key: { : ObjectId('4d37401365599637bc0046ee') }

      It would be helpful for users and support if we provided some additional information that could be helpful in diagnosing the issue e.g. prefixing the log message with the word "insert " or "flush ", etc.

      For reference, those logs are from mongorestore. We should make some updates to output more descriptive error messages across the tools.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gabriel.russell Gabriel Russell
                Reporter:
                adinoyi.omuya Adinoyi Omuya
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: