change the log define file directory