[SERVER-14432] Flexible logging of certain queries Created: 03/Jul/14  Updated: 06/Dec/22  Resolved: 17/Sep/20

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

Type: New Feature Priority: Major - P3
Reporter: Kevin Pulo Assignee: Backlog - Query Team (Inactive)
Resolution: Duplicate Votes: 2
Labels: log-verbosity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-49102 Accept a filter expression as an alte... Closed
Related
related to SERVER-17862 Unify stats reporting for log/profile... Closed
is related to SERVER-37308 Log queries with high ratio of scanne... Closed
Assigned Teams:
Query
Participants:

 Description   

Currently, at loglevel 0, only operations with duration over slowms are logged. It would be useful to be able to flexibly define the criteria for which operations to log, for example, nscanned over a certain threshold.



 Comments   
Comment by David Percy [ 17/Sep/20 ]

With SERVER-49102, users can define their own criteria (expressed as a query predicate) for the profiler and slow-query log lines to use.

Generated at Thu Feb 08 03:34:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.