small modification for log folders and files