- Reference >
- mongo Shell Methods >
- Database Methods >
- db.getProfilingLevel()
db.getProfilingLevel()¶
- db.getProfilingLevel()¶
This method provides a wrapper around the database command “profile” and returns the current profiling level.
Deprecated since version 1.8.4: Use db.getProfilingStatus() for related functionality.
Thank you for your feedback!
We're sorry! You can Report a Problem to help us improve this page.