GoogleCloudPlatform / GoogleCloudPlatform/python-docs-samples

python_template_launcher.go:37: Failed to initialize fluentd logger

Open
#13,213 3 comments 0 reactions 1 assignee Assigned to @iennae View on GitHub
priority: p2 samples triage me type: bug
Dominant language
Jupyter Notebook
Stars
8.1k
Forks
6.7k
Avg merge
4d 2h
Merged PRs (30d)
16

Description

## 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.