Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

python_template_launcher.go:37: Failed to initialize fluentd logger

Hi all,

I'm using a golden image with non root user to build an run a dataflow template.

I got this error

python_template_launcher.go:37: Failed to initialize fluentd logger: failed to create log file /var/log/dataflow/template_launcher/runner-json.log: open /var/log/dataflow/template_launcher/runner-json.log: permission denied

Looks like dataflow template need write access to /var/log that I can't provide.

Is it possible to redirect the logs to different path?

Thanks

1 1 119
1 REPLY 1

Hi @pbonito,

Welcome to Google Cloud Community!

Upon reviewing your case, it seems that there might be a bug. I suggest filing an issue request regarding this, so that our Engineering Team can investigate further.

Before filing, please take note on what to expect when opening an issue. For future updates, I recommend monitoring the issue tracker.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.