Add a feature to specify log file