forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] [runtime env] [logging] Confine runtime env logs to `runtime_e…
…nv*.log` (ray-project#29985) User's runtime envs might contain sensitive info like secret environment variables. The goal is to confine all sensitive info to certain log files, and have other system level log files that are guaranteed not to have user info. This PR ensures all runtime env logs are in runtime_env_agent.log or runtime_env_setup-*.log. In the C++ code, this PR confines all logs that contain the runtime env content to DEBUG level logs. In the Python code, this PR removes all runtime_env logs from dashboard_agent.log by introducing a separate logger for the agent.py process. (Previously it was using the root logger, so all agent logs would go to dashboard_agent.py.). To prevent changing logging behavior in non-runtime-env agents, I've manually added this logger to those agents. The runtime_env_agent uses its own logger which logs to the new file runtime_env_agent.log. Logs from individual runtime env installations are still in runtime_env_setup-*.log. Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
- Loading branch information
1 parent
c908f5b
commit d9ab277
Showing
13 changed files
with
203 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.