0

We have Sitecore Managed Cloud on Azure, Sitecore 9.3.

I finally found where Sitecore writes the Sitecore logs: in the website folder itself, in /App_Data/logs/RD00155DE2A656/ (on our site at least), with filenames "azure.log.[date].[time].txt".

My question is: Is there a way to download the active log file (i.e. the latest one, the one Sitecore is currently writing to when the site is running)? I'm using an FTP client (WinSCP) to download files from the app service's FTP server, but when I try to download the active log file, WinSCP gives me the error "The process cannot access the file because it is being used by another process."

1

I usually access any file in an Azure web app using the Advanced Tools (Kudu), listed under Development Tools in Azure Portal.

The Debug Console section in the Advanced Tools offers file access via CMD or Powershell.

enter image description here

Each file can be downloaded, deleted or edited. Each directory can be downloaded or deleted.

If you are already authenticated in the Azure Portal, you can access directly this section adding the scm subdomain to your Azure web app domain:

https://your_azure_web_app_name.scm.azurewebsites.net/DebugConsole

| improve this answer | |
  • Thanks! I didn't see how I could use a console on the server to download a file, but then (1) I realized I could use the console to copy the file locally, then download the copy via FTP, and (2) I discovered that the DebugConsole page has a browsing and downloading UI separate from the console itself. – Conrad Albrecht Apr 23 at 21:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.