Skip to content

python_template_launcher.go:37: Failed to initialize fluentd logger #13213

@pbonito

Description

@pbonito

In which file did you encounter the issue?

python-docs-samples/dataflow/flex-templates/pipeline_with_dependencies

Did you change the file? If so, how?

Yes, used a different base image in docker file

Describe the issue

Jon start but I got following error:
2025/03/06 17:38:45.885541 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

python_template_launcher fails if running with non root user or an user that have no write access to /var/log

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions