Please see this question on StackOverflow:
I am deploying new builds however the log files for the app service are not being written to disk.
Even after I deploy a new build the only log file I get is for the last build. I have to wait overnight for the log to be flushed to disk. It is not possible for me to diagnose startup errors this way.
Thanks for your help.