Because I keep forgetting it:

stdoutLogEnabled="true"
 stdoutLogFile="\\?\%home%\LogFiles\stdout"

Full details: https://github.com/aspnet/Docs/blob/master/aspnetcore/host-and-deploy/azure-apps/troubleshoot.md#run-the-app-in-the-kudu-console