You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

LogRotate :

 Once the folder size (/rdklogs/logs/) reaches 1536(around 1.5M), these logs will be moved to /nvram2/logs and make them tar and pushed into local tftp log server.

Logs folder size will be periodically monitored (/rdklogs/logs folder) for upload.

rdklogs/logs will be periodically checked for the maximum size set for the logs to be uploaded.(“rdkbLogMonitor.sh” script file monitor this functionality)

In RDK-B maximum size of log directory is set to 1.5MB. This value is chosen based on storage constraints for the target platform. Can be changed to any value based on storage availability.

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

Then the 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


This Page is under Development

  • No labels