mrsarm / mongotail

Command line tool to log all MongoDB queries in a "tail"able way
https://pypi.org/project/mongotail/
GNU General Public License v3.0
192 stars 17 forks source link

Replace deprecated API methods from PyMongo #34

Closed mrsarm closed 2 years ago

mrsarm commented 3 years ago

Quote from deprecation notes in the version 3.12.0 of PyMongo:

Deprecated support for database profiler helpers profiling_level(), set_profiling_level(), and profiling_info(). Instead, users should run the profile command with the command() helper directly.

Another option used in Mongotail that is deprecated:

Deprecated the ssl_keyfile and ssl_certfile URI options in favor of tlsCertificateKeyFile (see TLS/SSL and PyMongo).