[SERVER-2880] Command line option --profile is ignored Created: 31/Mar/11  Updated: 12/Jul/16  Resolved: 31/Mar/11

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

Type: Bug Priority: Minor - P4
Reporter: Blake Maltby Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

The --profile option to set the default profiling level appears to get ignored. Looking in the code the profiling level was set on a new database in the method Database::finishInit however searching the current source base that no longer appears to get called from anywhere. It was originally called in the setClient code but looks like it was probably lost during commit afa43dc8 which refactored that code.



 Comments   
Comment by auto [ 31/Mar/11 ]

Author:

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

Message: fix --profile by removing unused method and initializing in constructor SERVER-2880
Branch: master
https://github.com/mongodb/mongo/commit/d54651e5f25d51c0b0483e8134f364f3aa7753b1

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