logging
logging tweaks