Kubectl logs -f <podname> not showing the updated logs

The logs of the container(only container in the pod) is paused and not updated after sending multiple requests. After I restart it again starts showing logs. What could be wrong?

Cluster information:

Kubernetes version:
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:
Host OS:
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.