Updating of web.log

Hi
Busy with a python script in a custom app.

I noticed when I use “print” to dump debugging values, then web.log is only updated after I do a bench restart ( server is in production mode ).

Is this correct ? Is there any other way to force web.log to update ?