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

Add authentication against another database #2

Closed davidcaste closed 9 years ago

davidcaste commented 9 years ago

This commit attempts to resolve issue #3.

A new optional argument "-b/--authenticationDatabase" has been added to specify that database. If not provided and authentication is required, mongotail will use the database specified in the db address.

mrsarm commented 9 years ago

Sorry, I saw this issue today, maybe Github never notify me, or maybe I didn't see the notification in my inbox. I will check the new feature and the code in the pull request in the incoming days.