title: Is there a way to store Fluent Bit's own application logs to a file
body: <p>I am using Fluent bit 1.8 as sidecar in an Openshift pod.
  My fluent bit containers crash and restart very often and when I notice this it is too late to see the failed containers console logs. Because restart completed and container seems running well. Below is the screenshot of that all-is-well moment;
  <a href="https://i.stack.imgur.com/B5ufb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B5ufb.png" alt="enter image description here" /></a></p>
  <p>My question is; is there a way to store the fluent bit container's console logs to a file? I have a persistent volume and can store them in there. But the problem is, as far as a see, there is no configuration for this in fluent bit documentation.</p>
  <p>Thanks for your helps.</p>