How to write log output in real time

I use the log entry from the example for the detector and tracker and noticed that when there are objects in the frame, the log is displayed 2-3 seconds later, I thought it was because of the buffer, but I’m not sure about that. Can I somehow write a log in real time without any delay? Thank!


Could you please provide more detailed information about your problems?
for example, which log it is, contents of the log, which plugin you think the log is from, and what detection task are you handling.