Fixed local log file bug.
Fixed local log file bug.