Added endpoint to publish logs to mongodb
Removed some logs