BricksLLM
BricksLLM copied to clipboard
both proxy and admin log do not need pass in correlation id explicitly
Hi @spikelu2016 , this PR changes all the correlation id log related code, both admin and proxy. Now the sub logger with correlation id is stored inside the http request context. Whenever we can get it from the http request context whenever we need it, especially when we are in some deeper place. In such cases, we need to pass the http request context as the parameter to this "deeper place".
Please feel free to let me know if you have any comments.
unused cid can still be found across many functions. you can find all of them using vscode search. removing all of them would be great
all cids are removed. the commit is squashed.