logging tweaks