a few more logging tweaks
add docid to logs