Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

/rdklogs/logs will contain entire logs from boot-up till the first time upload.

Then the /nvram2/logs directory will be compressed and renamed as mentioned below to enable server to fetch the logs based on MAC address of unit : <WAN Interface mac>_LOGS_<Timestamp>.tgz

During boot-up, rdkbLogMonitor.service calls rdkblogmonitor.sh for executing the logrotation feature in rpi.

Note:

1. Please edit the below line in /etc/device.

...

properties,

                             TFTP_SERVER_IP = "local tftp server ip"

2. Please run the below command (or) reboot the rpi box

                              systemctl restart rdkbLogMonitor

3. Below steps for assigning Maximum size for log directory based on storage constraints for the target platform,

                            Add "MAXSIZE = "VALUE" " in /etc/device.properties and then reboot your rpi board (or) restart the rdkbLogMonitor service.

    

Limitation

  • This feature will support only tftp protocol for log upload and not by http and by other means