My Azure web app (App Service) writes a log file mywebapp.log
to the d:\LogFiles directory of the VM that hosts the website. When the log file gets to a certain size I rename it to mywebapp1.log
, mywebapp2.log
, and so on so and a new log file is created. (I do this manually - stop the website, rename the file and restart the site.)
One day I inspected the directory through the Kudu (SCM) portal and saw just a lone mywebapp.log
that was much larger than normal. The file included all of the individual logs that previously existed (included the contents of mywebapp1.log
+ mywebapp2.log
and so on).
My app has no which combines the files. Is there an Azure process that does this or did I do it in my sleep and have no recollection?