minor logging work
tuning work