added a more normal logging mechanism