I would suggest anyone who is facing this log/prints not coming in azure appservice console can use this:
print("Some information...", data, flush=True)
That's it and it will solve all your issues. 🚀