logging improvements
delete empty files once a week

#231
old unused setting