Closed Arsou33 closed 2 years ago
Are those logs not just the regular reconciliation loop?
Could be. But it is 4 to 5 times a second generating about 35Kb/s of logs. Without debug level it is 10Kb/s of logs, leading to more that 1Gb per day.
That does seem a little chatty!
Yes I'm agree on this point ... We kept the logic of the logging from the koperator, but it is really too verbose ... We start to refactor using the events and adding a way to configure the interval between reconcile loops : https://github.com/Orange-OpenSource/nifikop/pull/124, but it is far from good.
I would be happy if you have any ideas on how we could improve it :)
Bug Report
What did you do? Declaring a simple Nifi cluster with two nodes
What did you expect to see? Cluster is starting and NifiKop is stable
What did you see instead? Under which circumstances? Nifi cluster is correctly started but nifiklop NifiCluster controller flood logs log.txt
Environment
nifikop version: 7.0.1
go version: builtin the image
Kubernetes version information:
Additional context Cluster definition