mrsarm/mongotail

Replace deprecated API methods from PyMongo

mrsarm opened this issue · 0 comments

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).