The best location to enable logging for AdminUI is in the API site. The application outputs to the console by default, which most hosting options can read from.
Logging with IIS or Azure
stdoutLogEnabled attribute to
true in the
web.config or IIS configuration manager enables logging. This attribute is found in:
system.webServer > aspNetCore.
The log file output location is controlled by the
In the example below, logging has been enabled in the
web.config and all log files will be output to the
.\logs\ directory. The log files will also be prefixed with
<aspNetCore stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" ...> ... </aspNetCore>
Note: Ensure that the folder exists and that IIS has permissions to write to it.
Logging with Docker
Docker should automatically record any UI and API logs with Docker logging. Most tools and systems that work with Docker logging will continue to work as expected.