Fix valve log file