Browser Access[edit source]
If you have the default installation of the TurnkeyServer and MDrivenServer, you can access their logs directly like this from a browser.
Turnkey Server[edit source]
Portal UI[edit source]
On the manage page for your application on the MDriven Portal, you will find direct links to the Turnkey log pages.
Direct URL[edit source]
https://<yourturnkey>/developer/errors https://yourturnkey/developer/log
You can add a password parameter if the server in not running in debug mode and you have set the password using ShowDebugInfoPassword in Documentation:TurnkeySettings like this;
https://yourturnkey/developer/log?password=<password>
or
https://<yourturnkey>/logs/TurnkeyServerLogRollingERRORS.txt https://<yourturnkey>/logs/TurnkeyServerRollingDEBUG.txt
MDrivenServer[edit source]
Direct URL[edit source]
https://<yourturnkey>/__MDrivenServer/logs/MDrivenServerRollingDEBUG.txt https://<yourturnkey>/__MDrivenServer/logs/MDrivenServerLogRollingERRORS.txt
[edit source]
Using the Azure SCM For Either TurnkeyServer or MDrivenServer[edit source]
In Azure, there is an admin app for each app called SCM.
https://<yourappname>.scm.azurewebsites.net
You can log in there using the credentials you find in your publishing profile - or with an account if you have access to the hosting Azure subscription.
If you have this access, you can find logs easily with these two URLs:
https://<yourappname>.scm.azurewebsites.net/api/vfs/site/wwwroot/logs/TurnkeyServerRollingDEBUG.txt https://<yourappname>.scm.azurewebsites.net/api/vfs/site/wwwroot/__MDrivenServer/logs/MDrivenServerRollingDEBUG.txt
If you're using Chrome, you might like this extension to make the log viewing easier:[edit source]
https://chrome.google.com/webstore/detail/better-text-viewer/lcaidopdffhfemoefoaadecppnjdknkc
Command Line on the Server[edit source]
You will find the "logs" folder on both Turnkey and MDrivenServer.
The server uses a rolling renaming and cleanup scheme. The current log is the one without an odd extension.
Showing It on the Screen Automatically[edit source]
To see the logs on the screen, start PowerShell and use the commands:
Get-Content .\*ERRORS.txt -Wait -tail 1
Get-Content .\*DEBUG.txt -Wait -tail 1
