VG814 The working principle of logs
System logs
Capacity configuration: The total fixed size is 1MB, divided into 2 512KB files for cyclic use;
Writing and uploading: After a single file is filled, it is uploaded to the TMS platform and then switched to another file to continue writing; After both files are fully written and uploaded, return to the first file loop (overwrite old content or archive according to rules);
Offline processing: When there is no TMS platform connection, the content of the file is imported into the database after it is full, and the overwrite mechanism is triggered when the database reaches 50MB.
Historical logs
Record scope: default storage of advanced logs/important normal events such as warnings and alerts; After adjusting to debug level, record all logs;
Capacity configuration: default 25MB, maximum support 50MB (split into 50 512KB files for rotation); Currently adjusted to 1GB;
Storage and rotation: stored inside the device, with the earliest generated log content overwritten when the capacity is fully written.