DEVICE - LOG

AviorEco+ automatically maintains a rolling history of system activities and events, which is stored as a standard text file at the following path:

D:SYSTEM/system.log

Log Rotation & Storage Size

To optimize memory usage, the system utilizes a basic log rotation mechanism:

  • When the active system.log file reaches a size of 3 kB, its entire contents are automatically moved to a backup file named D:SYSTEM/system.old.
  • The device then continues logging recent activities in a fresh system.log file.
  • Through this two-file rotation, up to 6 kB of total system history is preserved at any given time.

File Management Commands

  • Reading Logs
    Both the active and backup log files can be read through the console interface using the AT#RFILE command.
  • Deleting Logs
    Files can be permanently deleted using the AT#DFILE command. The device will automatically recreate them as soon as a new event needs to be recorded.
  • Custom Entries
    Users can inject a custom text record into the active system log at any time by executing the  AT#LOG command.

Log Entry Structure & Formatting

Each row within the log file consists of three comma-separated values: the date, the time, and a description of the operation performed.

Clock Synchronization Impact

If the on-board Real-Time Clock has not been set or synchronized, the date field will remain undefined, and only the elapsed time from the exact moment of device startup will be reported.

Example Log Output

--/--/--,00:00:01,AVIOR power on
20/07/18,09:00:51,WiFi connected: Vodafone-34532257 20/07/18,09:00:14,main on
20/07/18,12:46:48,WiFi disconnected: Vodafone-34532257