adding some logging statements

Couldn't this be a property?