SG LOG: Difference between revisions

Jump to navigation Jump to search
272 bytes added ,  28 January 2016
no edit summary
No edit summary
Line 4: Line 4:


Logging settings can be modified using the <code>--log-level=[level]</code> [[command line]] option, detailed help about most available command line options can be obtained from the fgfs executable by calling it with the following arguments: <code>--help --verbose</code>.
Logging settings can be modified using the <code>--log-level=[level]</code> [[command line]] option, detailed help about most available command line options can be obtained from the fgfs executable by calling it with the following arguments: <code>--help --verbose</code>.
<code>
--log-level={bulk,debug,info,warn,alert}
                                Specify which logging level to use
--log-class=[ai,environment,flight,general,io,network,sound,terrain,...]
                                Specify which logging class(es) to use
</code>


If you are interested in simply logging certain properties to a file at runtime, you can use either FlightGear's built-in logging framework, or the [[generic protocol]].  See [[Logging properties]] and [[Generic protocol]] for more details.
If you are interested in simply logging certain properties to a file at runtime, you can use either FlightGear's built-in logging framework, or the [[generic protocol]].  See [[Logging properties]] and [[Generic protocol]] for more details.
476

edits

Navigation menu