log user agent on compat-flag warning