[master] added log to mongo connection