Why is logging delayed in the python library?
I am writing a logging mechanism so I can checkpointing the tasks my app is doing. The app is a executing multi-processes tasks for multi-clients uses. So I write a logger using python’s log library and the each processes logger will . However it is kind weird that when the each task passes the certain checkpoint the logger would not show that checkpoint. (It seems some delays there). It is important for the processes to recover from where it stops because I do not want the machine to redo checkpoint A’s work but it passed checkpoint D before the break down.
But the logger just delays: the first log message is on time, but the others are just not showing up on time.