Objective
I've been using Office Web Apps for a while, and there are a variety of errors in the process, and it's well known that SharePoint's errors keep the error log under 15/logs, so what about OWA?
After finding out that office Web apps also have their own error logs, if we encounter an error, we can go to the error log.
View methods
Default error log Location:
C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS
There may be limited space in the C drive in many environments, can we point the error log to another location by default? The answer is yes, of course, and we can modify it with PowerShell commands.
When we are in the new-officewebappsfarm, we actually have the LogLocation property, but we can choose the property, we may not have the choice, the default position is
%programdata%\microsoft\officewebapps\data\logs\uls\
Does that mean we need to recreate the farm if we want to change the default location of the log? Of course not, we can also modify the field through PowerShell commands.
Set-officewebappsfarm [-loglocation <string>]
Of course, this is just about setting the default location, if you have other properties to set, please refer to the official documentation.
Official documents
Https://technet.microsoft.com/en-us/library/jj219442.aspx
Office Web Apps error log