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
We have the
/chage-log-level
endpoint that changes theNODE_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