20,741
edits
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
}}</ref> | }}</ref> | ||
The reason is that a console window opened by an application (e.g. running fgfs --console) is not the same as a native windows command window from which an application (e.g. fgfs) is started typing a command at the prompt | The reason is that a console window opened by an application (e.g. running fgfs --console) is not the same as a native windows command window from which an application (e.g. fgfs) is started typing a command at the prompt. It was discovered that error reports were not being sent to a console window that was opened with the --console option. Also it was not possible to pipe output to a file from the window that was opened by the fgfs <code>--console</code> method. For historical reasons the [[Fgfs.log|fgfs log file]] is not (as many folk believe) the same as the log printed in the console window.<ref>{{cite web | ||
|url = https://forum.flightgear.org/viewtopic.php?p=293574#p293574 | |url = https://forum.flightgear.org/viewtopic.php?p=293574#p293574 | ||
|title = <nowiki> Re: Running FlightGear with console showing </nowiki> | |title = <nowiki> Re: Running FlightGear with console showing </nowiki> | ||
Line 45: | Line 45: | ||
|script_version = 0.40 | |script_version = 0.40 | ||
}}</ref> | }}</ref> | ||
{{Mergeto|Fgfs.log}} | |||
The logging to a file always logs at level=info, since anything less is not much use for retrospective debugging<ref>{{cite web | The logging to a file always logs at level=info, since anything less is not much use for retrospective debugging<ref>{{cite web | ||
|url = https://sourceforge.net/p/flightgear/mailman/message/31714937/ | |url = https://sourceforge.net/p/flightgear/mailman/message/31714937/ | ||
Line 59: | Line 61: | ||
|date = Dec 4th, 2013 | |date = Dec 4th, 2013 | ||
|added = Dec 4th, 2013 | |added = Dec 4th, 2013 | ||
|script_version = 0.40 | |||
}}</ref> | |||
The log file only records up to level info, to avoid it growing huge.<ref>{{cite web | |||
|url = https://sourceforge.net/p/flightgear/mailman/message/34991912/ | |||
|title = <nowiki> Re: [Flightgear-devel] Enable debug logging in Simgear </nowiki> | |||
|author = <nowiki> James Turner </nowiki> | |||
|date = Apr 4th, 2016 | |||
|added = Apr 4th, 2016 | |||
|script_version = 0.40 | |script_version = 0.40 | ||
}}</ref> | }}</ref> |