@Marvin Why does the prefect server not use the 'PREFECT_LOGGING_HANDLERS_CONSOLE_FORMATTER=json' setting. I have applied it to my Server, Worker and Jobs and it works on the WOrker and Jobs, but not the Server
m
Marvin
09/11/2024, 1:39 PM
Grug think server not listen to 'PREFECT_LOGGING_HANDLERS_CONSOLE_FORMATTER=json' setting good enough. Grug need data. Grug ask what version you use?
Let Grug know Prefect version so Grug can use tools to help better.
g
Gregory Hunt
09/11/2024, 1:39 PM
@Marvin in version 2.16.6
m
Marvin
09/11/2024, 1:40 PM
Grug run into trouble finding exact reason. But Grug detect possible similar issues not related to logging setting directly. Grug think maybe server not read
PREFECT_LOGGING_HANDLERS_CONSOLE_FORMATTER
setting properly. Could be bug.
Grug share Github issues page, might help find more info or place to report issue:
Prefect GitHub Issues
Grug suggest double-checking if config applied correctly. Maybe:
- Ensure environment variable set before server start.
- Double-check syntax and apply time.
If problem persists, consider creating GitHub issue.
🦧
g
Gregory Hunt
09/11/2024, 3:07 PM
@Nate Do you know if there is a work around for this, or should I submit an issue?
n
Nate
09/11/2024, 3:08 PM
off the top im not sure - an issue with what you've tried / what's unexpected would be great!
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.