I’m not sure if GKE is doing anything special specifically for logging, but Prefect itself is logging based on the default logging configuration + whatever you have additionally configured. Additional configuration to raise / export the task run context and ID would be exported / logged based on these values here