Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logger + log level updates #1178

Merged
merged 18 commits into from
Aug 28, 2024
Merged

logger + log level updates #1178

merged 18 commits into from
Aug 28, 2024

Conversation

jlewitt1
Copy link
Collaborator

@jlewitt1 jlewitt1 commented Aug 20, 2024

Set log level on cluster according to local RH_LOG_LEVEL env var. If not set use the default

Copy link
Collaborator Author

jlewitt1 commented Aug 20, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jlewitt1 and the rest of your teammates on Graphite Graphite

@jlewitt1 jlewitt1 force-pushed the log-level-updates branch 2 times, most recently from 9fa2713 to aa20a92 Compare August 20, 2024 21:18
# Conflicts:
#	runhouse/servers/http/http_client.py
@jlewitt1 jlewitt1 force-pushed the log-level-updates branch 3 times, most recently from 859613f to 5f3e17a Compare August 21, 2024 20:50
@jlewitt1 jlewitt1 force-pushed the log-level-updates branch 3 times, most recently from 94166b3 to a1ea931 Compare August 22, 2024 15:22
@jlewitt1 jlewitt1 force-pushed the log-level-updates branch 2 times, most recently from 6eede41 to 0043372 Compare August 22, 2024 20:42
@jlewitt1 jlewitt1 force-pushed the log-level-updates branch 6 times, most recently from 54ca57d to 0c5d386 Compare August 27, 2024 09:27
# Conflicts:
#	runhouse/resources/hardware/cluster_factory.py
@jlewitt1 jlewitt1 marked this pull request as ready for review August 27, 2024 10:55
docs/debugging-logging.rst Outdated Show resolved Hide resolved
runhouse/logger.py Outdated Show resolved Hide resolved
@@ -379,6 +379,7 @@ def docker_cluster_pk_ssh(request, test_org_rns_folder):
],
working_dir=None,
name="default_env",
env_vars={"RH_LOG_LEVEL": os.getenv("RH_LOG_LEVEL") or TESTING_LOG_LEVEL},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh if you set this locally will it propagate server side?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea as part of the restart flow / env.to(cluster)

# Conflicts:
#	runhouse/servers/cluster_servlet.py
Copy link
Contributor

@rohinb2 rohinb2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

solid

Copy link

graphite-app bot commented Aug 27, 2024

Wildlife gif. A seal looks around with its mouth wide open. Text, 'Seal of approval.' (Added via Giphy)

Copy link

graphite-app bot commented Aug 27, 2024

Graphite Automations

"rohin" took an action on this PR • (08/27/24)

1 gif was posted to this PR based on Rohin Bhasin's automation.

Copy link
Contributor

rohinb2 commented Aug 27, 2024

Merge activity

@rohinb2 rohinb2 changed the base branch from update-default-logger to graphite-base/1178 August 27, 2024 21:50
@jlewitt1 jlewitt1 changed the base branch from graphite-base/1178 to main August 28, 2024 08:13
# Conflicts:
#	runhouse/logger.py
#	runhouse/servers/obj_store.py
@jlewitt1 jlewitt1 merged commit 8922b07 into main Aug 28, 2024
13 checks passed
@jlewitt1 jlewitt1 deleted the log-level-updates branch August 28, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants