added loging output data to log file