<@ULVA73B9P> Why does the prefect server not use t...
# ask-marvin
g
@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
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
@Marvin in version 2.16.6
m
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
@Nate Do you know if there is a work around for this, or should I submit an issue?
n
off the top im not sure - an issue with what you've tried / what's unexpected would be great!
👍 1