[SERVER-2027] in profiler and slow query log show the entire update statement vs just the query thats running Created: 28/Oct/10  Updated: 12/Jul/16  Resolved: 17/May/11

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: None
Fix Version/s: 1.9.1

Type: Improvement Priority: Major - P3
Reporter: Kenny Gorman Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-1591 don't use a StringBuilder in OpDebug Closed
Participants:

 Description   

Currently the slow query log and profiler show the following type of information:

Thu Oct 14 18:48:39 [conn482] update platform_asset.CONTAINER query:

{ title: "October 2009", userid: "003011802076" }

24156ms

It would be nice to have the update statement as well. This allows for tracking down different versions of updates where the attribute being updated might be different.

Thu Oct 14 18:48:39 [conn482] update platform_asset.CONTAINER set :

{ field : value }

query:

{ title: "October 2009", userid: "003011802076" }

24156ms



 Comments   
Comment by auto [ 17/May/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: fix and test for update logging SERVER-2027
Branch: master
https://github.com/mongodb/mongo/commit/821f38fb8a6c30b926971dbceb4bbaa1cc9cdccc

Generated at Thu Feb 08 02:58:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.