add logging format
log to file