This KB is dedicated to lift log level of the fluent-bit logging container.
Some logging setups doesn't work as expected and switching log level to the debug temporary may be necessary.
fluent-bit.conf from the fluent-bit container to the local folder
sudo docker cp tfe-fluent-bit:/fluent-bit/etc/fluent-bit.conf ./
Update the local file
fluent-bit.conf - add
Example of the configuration file:
[SERVICE] Parsers_File /fluent-bit/etc/parsers.conf HTTP_Server On HTTP_Listen 0.0.0.0 HTTP_Port 2020 Health_Check On storage.path /fluent-bit/run/buffer storage.metrics on Log_Level debug
Copy the file to Fluent Bit container
sudo docker cp fluent-bit.conf tfe-fluent-bit:/tmp/fluent-bit.conf
Copy the file in the container from /tmp to the original location
sudo docker exec -it tfe-fluent-bit cp /tmp/fluent-bit.conf /fluent-bit/etc/fluent-bit.conf
Restart the tfe-fluent-bit container
sudo docker restart tfe-fluent-bit
Confirm the debug mode is On
sudo docker logs tfe-fluent-bit