diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2007-11-26 12:59:51 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2007-11-26 12:59:51 +0000 |
commit | bc9e02f50ffb374715994d4320faace5d8875576 (patch) | |
tree | 93cc5480e159aadfb044534cecabbbeb56d8b8b8 /orkbasecxx/Config.h | |
parent | f4b9b1d0e2e57532f6d838d2a5e88f8852fb5888 (diff) |
Added configuration parameter, CaptureFileSizeLimitKb, which limits the size of the MCF file to the value specified in kilo bytes
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@509 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/Config.h')
-rw-r--r-- | orkbasecxx/Config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/orkbasecxx/Config.h b/orkbasecxx/Config.h index 2439d45..5baf30d 100644 --- a/orkbasecxx/Config.h +++ b/orkbasecxx/Config.h @@ -100,6 +100,8 @@ #define LOOKBACK_RECORDING_DEFAULT true #define ALLOW_AUTOMATIC_RECORDING_PARAM "AllowAutomaticRecording" #define ALLOW_AUTOMATIC_RECORDING_DEFAULT true +#define CAPTURE_FILE_SIZE_LIMIT_KB_PARAM "CaptureFileSizeLimitKb" +#define CAPTURE_FILE_SIZE_LIMIT_KB_DEFAULT 300000 class DLL_IMPORT_EXPORT_ORKBASE Config : public Object { @@ -157,6 +159,7 @@ public: int m_httpServerPort; bool m_lookBackRecording; bool m_allowAutomaticRecording; + int m_captureFileSizeLimitKb; private: log4cxx::LoggerPtr m_log; |