Browse Source

Bug fix: The /loglevel switch did not apply when used with pre-configured log file

Source commit: 6f2fe835a03dc7ae2aa4e9650d51f08de07929a9
Martin Prikryl 9 years ago
parent
commit
e3df51904c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      source/core/Configuration.cpp

+ 1 - 0
source/core/Configuration.cpp

@@ -1341,6 +1341,7 @@ void __fastcall TConfiguration::TemporaryActionsLogging(const UnicodeString ALog
 void __fastcall TConfiguration::TemporaryLogProtocol(int ALogProtocol)
 void __fastcall TConfiguration::TemporaryLogProtocol(int ALogProtocol)
 {
 {
   FLogProtocol = ALogProtocol;
   FLogProtocol = ALogProtocol;
+  UpdateActualLogProtocol();
 }
 }
 //---------------------------------------------------------------------
 //---------------------------------------------------------------------
 void __fastcall TConfiguration::TemporaryLogSensitive(bool ALogSensitive)
 void __fastcall TConfiguration::TemporaryLogSensitive(bool ALogSensitive)