Hi Prefect Team! I'm looking to disable cloud logging since our implementation will be routing our logs via k8s directly to splunk. I tried setting an env value of
PREFECT__CLOUD__SEND_FLOW_RUN_LOGS=False
in our global container config which I see being recognized by Prefect Cloud, however there are logs still populating for the run (see attached). Do I perhaps have the wrong value defined or could I be missing something?
k
Kevin Kho
03/08/2022, 10:26 PM
That looks right so confused why it’s behaving like that. I can ask the team but you can also try the
@Kevin Kho okay I thought I set that up correctly. Please let me know what the team says. I have to look into our CI/CD process to see if/how we can include that run flag. We are submitting scheduled flow runs, so I'd have to be sure that they are receiving the
--no-cloud-logs
flag
z
Zanie
03/08/2022, 10:55 PM
Hey David, the agent overrides this environment variable value with its own setting.
Zanie
03/08/2022, 10:56 PM
I’d accept a pull request to change this behavior to allow override as you’ve done. This isn’t intended behavior.
upvote 1
a
Anna Geller
03/08/2022, 11:01 PM
@Marvin open "Allow disabling sending flow run logs on a per flow run basis via PREFECT__CLOUD__SEND_FLOW_RUN_LOGS environment variable"
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.