Commonly used debugging tools: Difference between revisions

Jump to navigation Jump to search
→‎Finding fgfs.log: removed the line saying to navigate to $FG_HOME since the full path is already given in the locations...
(→‎Finding fgfs.log: removed the line saying to navigate to $FG_HOME since the full path is already given in the locations...)
(3 intermediate revisions by 3 users not shown)
Line 33: Line 33:
== fgfs.log ==
== fgfs.log ==
The startup log file contains nearly the same information that is output on the console.
The startup log file contains nearly the same information that is output on the console.
The goal of adding the log file was to capture some debugging output in a way that is robust for users, i.e just works, and works ‘historically’, i.e is useful when a problem occurs since it was already enabled. The level is fixed at INFO because a lower level wouldn’t contain enough detail for debugging, but a higher level (SG_DEBUG) the files would be huge for a long FG session. This is my decision of course and it can be changed if people are happy with 100MB+ text files in their FG_HOME. Or we add a new option to set the file-log-level, but again the intention was for this feature to be as automatic as possible.<ref>{{cite web
  |url    =  https://sourceforge.net/p/flightgear/mailman/message/35144644/
  |title  =  <nowiki> Re: [Flightgear-devel] fgfs.log </nowiki>
  |author =  <nowiki> James Turner </nowiki>
  |date  =  Jun 8th, 2016
  |added  =  Jun 8th, 2016
  |script_version = 0.40
  }}</ref>


=== Finding fgfs.log ===
=== Finding fgfs.log ===
Navigate to $FG_HOME
; Mac:      <code>~/Library/Application Support/FlightGear/fgfs.log</code>
; Mac:      <code>~/Library/Application Support/FlightGear/fgfs.log</code>
; Windows:  <code>C:\Users\''user name''\AppData\Roaming\flightgear.org\fgfs.log</code>
; Windows:  <code>C:\Users\''user name''\AppData\Roaming\flightgear.org\fgfs.log</code>
; Linux:    <code>~/.fgfs/</code>
; Linux:    <code>~/.fgfs/fgfs.log</code>


== The property browser ==
== The property browser ==
185

edits

Navigation menu