cleaning up cpnsole logging