switch to proper logging