enable proper logging