ethereum / sourcify

Decentralized Solidity contract source code verification service
https://sourcify.dev
MIT License
780 stars 395 forks source link

Check if the `/change-log-level` endpoint works for all scaled up containers #1547

Open kuzdogan opened 2 months ago

kuzdogan commented 2 months ago

We have the /chage-log-level endpoint that changes the NODE_LOG_LEVEL environment variable dynamically. However the GCP has a architecture now that it will run multiple containers to scale the service. We need to check if when calling the endpoint the env var will change across all containers or not. My guess is not because this request will be handled by only one container and only the single container state will change.

If not, we need to change logging to take a global variable