Replies: 1 comment
-
|
Were you able to make this work? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Description
I've noticed that Dagster (deployed via Helm on Kubernetes) sends logs to stderr by default, including INFO level logs. This breaks our standard log aggregation setup where we expect:
Current Behavior
When running any Dagster job with logging:
All these logs appear in stderr, I expect to follow standard Unix conventions.
What we've found
I have tried various approaches in values.yaml using pythonLogs configuration, but we're not sure if we're going in the right direction or if there's a simpler/better way.
I've seen discussions about this topic (like #24325 (reply in thread)) but couldn't find a clear production-ready solution.
Attempt 1: Multiple handlers
Result: DEBUG logs go to stderr - should be in stdout
Attempt 2: Multiple handlers with assumed built-in filters
Result: ValueError: Unable to configure filter 'stderr_filter'
ModuleNotFoundError: No module named ‚dagster.utils.log_filter.StderrLogFilter'
Environment
1.9.9Questions
Beta Was this translation helpful? Give feedback.
All reactions