From: James Turner Date: Tue, 12 Jan 2016 23:33:57 +0000 (-0600) Subject: Log options to INFO level when processing X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e3fe8ae199a5f5313ad524be3882eee9666fa41d;p=flightgear.git Log options to INFO level when processing - ensures they occur in the fgfs.log which should aid problem tracing. --- diff --git a/src/Main/options.cxx b/src/Main/options.cxx index c0a955379..9cfbb6c9d 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -2265,6 +2265,9 @@ OptionResult Options::processOptions() default: break; } + if (it->desc) { + SG_LOG(SG_GENERAL, SG_INFO, "\toption:" << it->desc->option << " = " << it->value); + } } groupEnd = groupBegin;