Some logging tweaks.