Open nabeenb opened 1 year ago
Unfortunately, no. How are you connecting to it via other tools?
Ok, I am able to connect via URI. Now error is log4mongo/handlers.py", line 300, in flush_to_mongo self.handleError(self.last_record) #handling the error on flush
Please post the complete stack trace.
BufferedMongoHandler(host=uri,
#password='',
database_name='mydb',
collection='logs',
authentication_db='mydb',
capped=True,
buffer_size=1000, # buffer size.
buffer_periodical_flush_timing=60.0, # periodical flush every 60 seconds
buffer_early_flush_level=logging.CRITICAL)
able to login. is there way to use two different collections for two set of logs.
You can define to handlers. Each one should write to a collection.
I am trying to connect via BufferedMongoHandler to remote hosted serverless instance in mongodb.net. Do you have any sample or example.