SamWheat-7447 avatar image
0 Votes"
SamWheat-7447 asked ·

App service log files are not being flushed to disk

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.

· 4
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sam, I have followed-up with you on the SO thread, will post an update here.

0 Votes 0 ·

Update: Working with Sam offline/following-up.

0 Votes 0 ·

Sam, We did not hear from you since our last discussion (offline), when you get a chance please let us know if you need further assistance. Thanks!

0 Votes 0 ·

Email to Ajay Kumar sent today:

Hi Ajay, I have not had a reason to make any changes to the site until today so I was sure to review this ticket to see if anything changed. After I deployed the changes I took these steps to try to reproduce the issue:

Stop the service
Ftp the log to c: drive
Start the service
Stop the service
Ftp the log to c: drive

As you can see log entries were not saved. Fortunately my site ran without errors. Last time I had to go through this I had errors but I could not tell what they were because I had no logging.

First log:
2021-03-10 22:34:33.159 +00:00 [INF] Ap
2021-03-10 22:39:19.288 +00:00 [INF] Vy
2021-03-10 22:41:03.675 +00:00 [INF] Co
2021-03-10 22:50:36.983 +00:00 [INF] Ap

Second Log:

2021-03-10 22:34:33.159 +00:00 [INF] A
2021-03-10 22:39:19.288 +00:00 [INF] V
2021-03-10 22:41:03.675 +00:00 [INF] C
2021-03-10 22:50:36.983 +00:00 [INF] A

0 Votes 0 ·

0 Answers