Skip to content

Cluster worker logging#352

Merged
allison-truhlar merged 7 commits intomainfrom
cluster-app-improvements
Apr 13, 2026
Merged

Cluster worker logging#352
allison-truhlar merged 7 commits intomainfrom
cluster-app-improvements

Conversation

@krokicki
Copy link
Copy Markdown
Member

Better logging for cluster workers:

  • Upgrade py-cluster-api from 0.4.0 to 0.5.0 - see changes from this PR
  • Worker subprocess logging: The worker now configures cluster_api logging to stderr so debug output from py-cluster-api reaches the parent process. The parent forwards each line through loguru with a [worker:<action>] prefix. Log level is controlled via FGC_LOG_LEVEL env var passed from the server's settings.
  • Remove unnecessary async/await: get_job_file_content is a synchronous file read — dropped the async keyword and removed the corresponding await at the call site.

@JaneliaSciComp/fileglancer @StephanPreibisch

@allison-truhlar allison-truhlar merged commit 768de38 into main Apr 13, 2026
3 checks passed
@allison-truhlar allison-truhlar deleted the cluster-app-improvements branch April 13, 2026 14:55
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