update

support save to log to file
file is config in some file