handle log files in shared volumes properly