some logging tweaks