Write information to log file