Add API logging to Eco API.