As we commented on previous post the default configuration of the Sitecore Azure module 2.0 moves the log files to table storage.
We agree with this solution, as it’s the best practice for Azure, but sometimes, it’s easier to catch your bug, if you’ve the usual log files, even if you installed our ClearPeople Azure log viewer, by example is sitecore wants the logs of the last two days (Our ClearPeople Azure log Viewer will support this functionality shortly), so… what about sending the logs to table storage, but saving them to log files at same time?
It’s easy, open your deplument item in the content tree and edit the field “WebConfigPatch” find the text. Find the log4net section and add this text under the Azure appender:
This is the standard appender, nothing new.
Now, find the text “
That’s it, you just configured the appender and told the engine to us both, so it will write to table storare and log file.
In order to apply these changes properly, you need to “upgrade files” on your farm.