Turnkey and MDrivenServer logs
No edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=== Browser access ===
<message>Write the content here to display this box</message>
If you have the default installation of the TurnkeyServer and MDrivenServer you can access their logs directly like this from a browser0
=== Browser Access ===
If you have the default installation of the TurnkeyServer and MDrivenServer, you can access their logs directly like this from a browser.


==== Turnkey Server ====
=== Turnkey Server ===


===== Portal UI =====
===== Portal UI =====
On the manage page for you application on the MDriven Portal you will find direct links to the Turnkey log pages.
On the manage page for your application on the MDriven Portal, you will find direct links to the Turnkey log pages.


===== Direct URL =====
===== Direct URL =====
  https://<yourturnkey>/developer/errors  
  https://<yourturnkey>/developer/errors  
  https://&#x3C;yourturnkey&#x3E;/developer/log
  <nowiki>https://yourturnkey/developer/log</nowiki>
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;
<nowiki>https://yourturnkey/developer/log?password=</nowiki><password>
or
or
  https://&#x3C;yourturnkey&#x3E;/logs/TurnkeyServerLogRollingERRORS.txt
  https://&#x3C;yourturnkey&#x3E;/logs/TurnkeyServerLogRollingERRORS.txt
  https://&#x3C;yourturnkey&#x3E;/logs/TurnkeyServerRollingDEBUG.txt
  https://&#x3C;yourturnkey&#x3E;/logs/TurnkeyServerRollingDEBUG.txt


==== MDrivenServer ====
=== MDrivenServer ===


===== Direct URL =====
===== Direct URL =====
Line 21: Line 24:


===== Navigating the MDrivenServer UI =====
===== Navigating the MDrivenServer UI =====
[[MDrivenServer log]]
[[Documentation:MDrivenServer log|MDrivenServer log]]


==== Using the Azure SCM for either TurnkeyServer or MDrivenServer ====
=== Using the Azure SCM For Either TurnkeyServer or MDrivenServer ===
In Azure there is admin app for each app called scm.
In Azure, there is an admin app for each app called SCM.
  https://&#x3C;yourappname&#x3E;.scm.azurewebsites.net  
  https://&#x3C;yourappname&#x3E;.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.
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 easy with these two urls:
If you have this access, you can find logs easily with these two URLs:
  https://&#x3C;yourappname&#x3E;.scm.azurewebsites.net/api/vfs/site/wwwroot/logs/TurnkeyServerRollingDEBUG.txt
  https://&#x3C;yourappname&#x3E;.scm.azurewebsites.net/api/vfs/site/wwwroot/logs/TurnkeyServerRollingDEBUG.txt
  https://&#x3C;yourappname&#x3E;.scm.azurewebsites.net/api/vfs/site/wwwroot/__MDrivenServer/logs/MDrivenServerRollingDEBUG.txt
  https://&#x3C;yourappname&#x3E;.scm.azurewebsites.net/api/vfs/site/wwwroot/__MDrivenServer/logs/MDrivenServerRollingDEBUG.txt


===== If you're using Chrome, you might like this extension to make log viewing easier =====
===== If you're using Chrome, you might like this extension to make the log viewing easier: =====
https://chrome.google.com/webstore/detail/better-text-viewer/lcaidopdffhfemoefoaadecppnjdknkc
https://chrome.google.com/webstore/detail/better-text-viewer/lcaidopdffhfemoefoaadecppnjdknkc


=== Command line on the server ===
=== Command Line on the Server ===
You will find the "logs"-folder on both Turnkey and MDrivenServer.
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 odd extension.
The server uses a rolling renaming and cleanup scheme. The current log is the one without an odd extension.


===== Showing it on screen automatically =====
===== Showing It on the Screen Automatically =====
To see the logs on screen, start powershell and use the command
To see the logs on the screen, start PowerShell and use the commands:
  Get-Content .\MDrivenServerLogRollingERRORS.txt -Wait -tail 1
Get-Content .\*ERRORS.txt -Wait -tail 1
 
  Get-Content .\*DEBUG.txt -Wait -tail 1
__FORCETOC__
__FORCETOC__
[[Category:MDriven Turnkey]]
[[Category:MDriven Turnkey]]
[[Category:MDriven Server]]
[[Category:MDriven Server]]
{{Edited|July|12|2025}}
[[Category:TOC]]

Latest revision as of 22:46, 8 February 2025

This page was created by Hans.karlsen@mdriven.net on 2019-01-22. Last edited by Lars.olofsson@mdriven.net on 2025-02-08.

Browser Access

If you have the default installation of the TurnkeyServer and MDrivenServer, you can access their logs directly like this from a browser.

Turnkey Server

Portal UI

On the manage page for your application on the MDriven Portal, you will find direct links to the Turnkey log pages.

Direct URL
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

Direct URL
https://<yourturnkey>/__MDrivenServer/logs/MDrivenServerRollingDEBUG.txt
https://<yourturnkey>/__MDrivenServer/logs/MDrivenServerLogRollingERRORS.txt
Navigating the MDrivenServer UI

MDrivenServer log

Using the Azure SCM For Either TurnkeyServer or MDrivenServer

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:

https://chrome.google.com/webstore/detail/better-text-viewer/lcaidopdffhfemoefoaadecppnjdknkc

Command Line on the Server

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

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