MXdiags folder: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
add category
m (add category)
 
(7 intermediate revisions by the same user not shown)
=Introduction=
[[Category:Diagnostics]]
 
The introduction to [[:Category:Diagnostics|Diagnostics article]] is the place to look for general information about the files described here for Cumulus MX.
 
This article is about the MX diagnostic log file. Please see the [[Debug.log]] article for Cumulus 1 specific equivalent.
These logging files are in sub-folder '''MXdiags''' within the '''CumulusMX''' root directory. It is a text (*.txt) file named by the date and time that the CumulusMX session began, for example: '''20210112-171450.txt'''
 
Entries are timestamped by date and time e.g. ''2020-09-07 14:26:21.793''.
 
 
= How to change the content of the diagnostics log file =
The "CreateMissing.exe" utility program will also store a log of what it does in this folder, see [[Calculate_Missing_Values#CreateMissing.exe]] for details.
 
= HowParameter when Starting MX to change the content of the diagnostics log file =
 
The contents stored in these diagnostic log files can be enhanced by turning '''debugging on''' and/or by turning '''data logging''' on (see later sections for details of these).
 
When starting MX beta, add '''CumulusMX.exe -debug''' (to have full debugging turned on as MX starts), '''CumulusMX.exe -Logging=1''' (for the weather station specific logging). For example, <pre>sudo mono CumulusMX.exe -debug -Logging=1</pre> for both options described below.
 
Since MX came out of beta, the two options have been combined, only '''-debug''' is now required.
 
You can also switch logging on/off using the admin interface as described below.
 
 
== Standard diagnostic Logging ==
# When you start Cumulus MX, use Parameter for adding debugging as part of the command for starting
#* (Example was given earlier)
# Use the[[MX_Administrative_Interface#Changing_Settings| admin interface Settings menu]], next tick the 'Data Logging' menu option, and finally click Save, on the appropriate web page depending on which version of MX you are using (see below). #* You can untick the option to disable the logging of debugging information
#* You can untick the option to disable the logging of data transfer information
#** Program settings web page for version 3.9.4 - build 3099 onwards
#** Station settings web page for earlier MX versions
</pre>
 
[[Category:LogCumulus Files]][[Category:Cumulus MX]]
5,838

edits

Navigation menu