log to file added