Add logging to monolith api