removed logging define