added logging config to api