Closed raoping2017 closed 1 year ago
@raoping2017 could you share us the logging-operator, fluend, fluentbit versions pls ?
We solved this problem by setting like below in values file of the logging chart provided by rancher in 2.6.3
loggingOverlay:
spec:
fluentd:
fluentOutLogrotate:
age: '10'
enabled: true
path: /buffers/logs/out
size: '10485760'
logLevel: debug
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!
Describe the bug: 2022-04-29 03:42:44 +0000 [error]: config error file="/fluentd/etc/fluent.conf" error_class=Fluent::ConfigError error="outfile: `/var/log/logging/file/a.202204290340**.log` is not writable"
Expected behaviour: a new flow and a new output created, yaml info:
output yaml: apiVersion: logging.banzaicloud.io/v1beta1 kind: Output metadata: creationTimestamp: "2022-04-29T01:46:48Z" generation: 1 managedFields:
flow yaml: apiVersion: logging.banzaicloud.io/v1beta1 kind: Flow metadata: creationTimestamp: "2022-04-29T03:42:42Z" generation: 1 managedFields:
Steps to reproduce the bug: a new rancher-logging-fluentd-configcheck-xxxxx pod created when a new flow created, and error as Describe the bug
Environment details: rancher 2.6.3
/kind bug