fix bug: log file ext