Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
/ NuGet.Jobs Public archive

China CDN log fix + minor global CDN log fix #948

Merged
merged 7 commits into from
Jan 12, 2021
Merged

China CDN log fix + minor global CDN log fix #948

merged 7 commits into from
Jan 12, 2021

Conversation

agr
Copy link
Contributor

@agr agr commented Dec 9, 2020

Addresses https://github.com/NuGet/Engineering/issues/3548

Some time ago China CDN logs started to use spaces in user agent string (before that those were replaced with +), which were left unquoted by the CollectAzureChinaCDNLogs, which causes incorrect parsing of user agent in logs coming from China CDN.

Also, while at it I had removed the code that added trailing space to all logs coming from global CDN and replaced bunch of string concatenations (that cause memory allocation on each call) with utilizing StringBuilder.Append which was already present anyway.

agr and others added 3 commits December 9, 2020 12:25
removed extra spaces.

Co-authored-by: lyndaidaii <64443925+lyndaidaii@users.noreply.github.com>
@agr agr merged commit 6b04c08 into dev Jan 12, 2021
@agr agr deleted the agr-china-log-fix branch January 12, 2021 20:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants