some log server file write fixes