ThingWorx Model Definition and Composer > System > Logs > ThingWorxStorage Log Archive Rollover Rules
ThingWorxStorage Log Archive Rollover Rules
Information from these logs is archived in ThingworxStorage/logs. Within this folder is the archives folder, and the rollover of log information into this folder is determined by the file size and time configured in the Logging Subsystem’s Log Retention Settings. The default settings can be changed at runtime to immediately save changes.
To access the Logging Subsystem configuration options, in Composer, click Monitoring>ConfigurationLog.
1. By file size: When the size reaches/exceeds the size defined in the Maximum File Size in KB field: The next log event will trigger the rollover of the file to archives folder. The default file size is 100000KB. Maximum amount is 1000000KB.
2. By Time: Daily rollovers are not clock-driven, but depend on the arrival of logging events. The files will get rolled over at midnight daily (and ONLY at the arrival of a log event) and are moved to the archives folder. By default, if a log is in the archive for more than seven days, it is deleted. The default can be changed in the Maximum Number Days For Archive field to 1-360 days.