Added if def flags to logpath and logappend.