in plugin/server_audit/server_audit.cc [2211:2216]
static void mark_always_logged(MYSQL_THD thd) { struct connection_info *cn; if (thd && (cn= get_loc_info(thd))) cn->log_always= 1; }