made some logging related changes
more logging stuff