From e3fe8ae199a5f5313ad524be3882eee9666fa41d Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 12 Jan 2016 17:33:57 -0600 Subject: [PATCH] Log options to INFO level when processing - ensures they occur in the fgfs.log which should aid problem tracing. --- src/Main/options.cxx | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5