]> git.stg.codes - stg.git/blobdiff - projects/stargazer/settings_impl.h
Added disabling of sessions log and filtering of params log.
[stg.git] / projects / stargazer / settings_impl.h
index 253b8bbccbcc70c0a41d4b09e464780b60c32b90..cc35393b2d18fab8d21cc705f3d1687fa031f43c 100644 (file)
@@ -92,6 +92,8 @@ public:
     unsigned            GetMessageTimeout() const { return messageTimeout * 3600 * 24; }
     unsigned            GetFeeChargeType() const { return feeChargeType; }
     bool                GetReconnectOnTariffChange() const { return reconnectOnTariffChange; }
+    bool                GetDisableSessionLog() const { return disableSessionLog; }
+    const std::vector<std::string> & GetFilterParamsLog() const { return filterParamsLog; }
 
     const std::string & GetModulesPath() const { return modulesPath; }
     const MODULE_SETTINGS & GetStoreModuleSettings() const
@@ -135,6 +137,8 @@ private:
     unsigned    messageTimeout;
     unsigned    feeChargeType;
     bool        reconnectOnTariffChange;
+    bool        disableSessionLog;
+    std::vector<std::string> filterParamsLog;
 
     std::vector<MODULE_SETTINGS> modulesSettings;
     MODULE_SETTINGS storeModuleSettings;