Debug log: Difference between revisions

From MrMC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:




=== Enable debug logging ===
{{how-to
The normal log file doesn't contain debugging information by default. To capture this information to the log you must first enable debug logging:
| Step1-title = Enable debug logging
| Step1 = The normal log file doesn't contain debugging information by default. To capture this information to the log you must first enable debug logging:


:In {{highlight|MrMC home screen -> Settings -> System -> Logging}} and turn on {{highlight| '''Enable debug logging'''}}
:In {{highlight|MrMC home screen -> Settings -> System -> Logging}} and turn on {{highlight| '''Enable debug logging'''}}


| Step2-title = Enable the web server
| Step2 = To make it easy to access the log file from another computer on the same network, enable the built-in web server:


=== Enable the web server ===
:In {{highlight|MrMC home screen -> Settings -> System -> Services}} and turn on {{highlight|'''Allow Remote control via HTTP'''}}
To make it easy to access the log file from another computer on the same network, enable the built-in web server:
 
| Step3-title = Find your IP address
| Step3 =  
 
| Step4-title = Restart MrMC
| Step4 =  
 
| Step5-title = Capture the problem
| Step5 =  
 
| Step6-title = Download the log
| Step6 =
 
<code><nowiki>http://IPADDRESS:8080/vfs%2Fspecial%3A%2F%2Flogs%2Fmrmc.log</nowiki></code>


:In {{highlight|MrMC home screen -> Settings -> System -> Services}} and turn on {{highlight|'''Allow Remote control via HTTP'''}}
<code><nowiki>http://IPADDRESS:8080/vfs%2Fspecial%3A%2F%2Flogs%2Fmrmc.old.log</nowiki></code>
 
| Step7-title = Posting your log file online
| Step7 =
 
| Step8-title = Turn off debug logging
| Step8 =
 
}}

Revision as of 02:30, 21 August 2016


1 Enable debug logging
The normal log file doesn't contain debugging information by default. To capture this information to the log you must first enable debug logging:
In MrMC home screen -> Settings -> System -> Logging and turn on Enable debug logging
2 Enable the web server
To make it easy to access the log file from another computer on the same network, enable the built-in web server:
In MrMC home screen -> Settings -> System -> Services and turn on Allow Remote control via HTTP

6 Download the log
http://IPADDRESS:8080/vfs%2Fspecial%3A%2F%2Flogs%2Fmrmc.log

http://IPADDRESS:8080/vfs%2Fspecial%3A%2F%2Flogs%2Fmrmc.old.log