some logging changes