blob: 289ad224eea66109076026448246566a6399c91f [file] [log] [blame]
Change configuration to allow unlimited log file size. This is needed so the
firmware updater doesn't try to be smart and decides the log file becomes to
large and should be overwritten.
--- a/TPMFactoryUpd/ConfigSettings.h
+++ b/TPMFactoryUpd/ConfigSettings.h
@@ -61,7 +61,8 @@
#define CONFIG_FIRMWARE_FOLDER_PATH L"path"
/// Default max log file size in kilobyte
-#define LOGGING_FILE_MAX_SIZE 1024
+/// Set to 0 to disable and ensure log file is opened in O_APPEND mode.
+#define LOGGING_FILE_MAX_SIZE 0
/// Definition of Locality 0 for accessing TPM
#define LOCALITY_0 0