error handling log_commands