Debug log: Difference between revisions

From MrMC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
| 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:
| 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-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:
| Step2 = To make it easy to access the log file from another computer on the same network, enable the built-in web server:


:In {{highlight|MrMC home screen -> Settings -> System -> Services}} and turn on {{highlight|'''Allow Remote control via HTTP'''}}
:In {{highlight|MrMC home screen -> Settings -> System -> Services}} and turn '''on'' {{highlight|'''Allow Remote control via HTTP'''}}


| Step3-title = Find your IP address
| Step3-title = Find your IP address
| Step3 = instructions
| Step3 = [[File:IP_address.png|300px|right]] From MrMC's home screen, move over to the "System" tab and then select the lower-menu item called "System information". Note the IP address listed under "General".


| Step4-title = Restart MrMC
| Step4-title = Restart MrMC
| Step4 = instructions
| Step4 = In order to record valuable startup information in the log, please quit MrMC completely and then re-open the program. The easiest method would be to simply restart your device, but for specific details see '''[[#Notes|here]]'''.


| Step5-title = Capture the problem
| Step5-title = Capture the problem
| Step5 = instructions
| Step5 = Once MrMC has started back up, give it a minute to "settle down", as various processes occur on a fresh startup. Then proceed to do whatever it is that triggers the bug or issue you are reporting. For example, if playing back a video causes an issue, play back that video.


| Step6-title = Download the log
| Step6-title = Download the log
| Step6 =  
| Step6 =  
<code><nowiki>http://IPADDRESS:8080/vfs%2Fspecial%3A%2F%2Flogs%2Fmrmc.log</nowiki></code>


<code><nowiki>http://IPADDRESS:8080/vfs%2Fspecial%3A%2F%2Flogs%2Fmrmc.old.log</nowiki></code>
<code><nowiki>http://IPADDRESS:8080/vfs%2Fspecial%3A%2F%2Flogs%2Fmrmc.old.log</nowiki></code>
Line 32: Line 30:


| Step8-title = Turn off debug logging
| Step8-title = Turn off debug logging
| Step8 = instructions
| Step8 = In {{highlight|MrMC home screen -> Settings -> System -> Logging}} and turn '''off''' {{highlight| '''Enable debug logging'''}}
 
Optionally, you can also turn off the web server if you do not use it for other features:
 
In {{highlight|MrMC home screen -> Settings -> System -> Services}} and turn '''off'' {{highlight|'''Allow Remote control via HTTP'''}}


}}
}}
== Notes ==

Revision as of 21:26, 16 September 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
3 Find your IP address
From MrMC's home screen, move over to the "System" tab and then select the lower-menu item called "System information". Note the IP address listed under "General".
4 Restart MrMC
In order to record valuable startup information in the log, please quit MrMC completely and then re-open the program. The easiest method would be to simply restart your device, but for specific details see here.
5 Capture the problem
Once MrMC has started back up, give it a minute to "settle down", as various processes occur on a fresh startup. Then proceed to do whatever it is that triggers the bug or issue you are reporting. For example, if playing back a video causes an issue, play back that video.
6 Download the log
http://IPADDRESS:8080/vfs%2Fspecial%3A%2F%2Flogs%2Fmrmc.old.log
7 Posting your log file online
instructions
8 Turn off debug logging
In MrMC home screen -> Settings -> System -> Logging and turn off Enable debug logging

Optionally, you can also turn off the web server if you do not use it for other features:

In MrMC home screen -> Settings -> System -> Services and turn off 'Allow Remote control via HTTP


Notes