Ensure log paths exist; renamed main log file.