support default log file, create or append