logging sample tweaks