how big is the size limit of current /rdklogs/logs ?  

if the size is bigger a limit vaule, the data of /rdklogs/logs will be clear.

how control the size limit of /rdklogs/logs?  if need enlarge the limit of logs, how do it ?


  • No labels

3 Comments

  1. Hi Z-nokiaqh ,

    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.

    Yes ,  Once the folder size (/rdklogs/logs/) reaches 1536(around 1.5M), these logs will be moved

    Below step 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 board

    1. thanks. Priyankaa K V B

      Once the folder size (/rdklogs/logs/) reaches 1536(around 1.5M),  these logs will be moved.

      will these logs be deleted or moved other place ?

      1. Hi Z-nokiaqh ,

        These logs will be moved to /nvram2/logs

        Please refer below link for more details on this log rotation in rpi

        Log Rotation Support in RPI User manual - Broadband - 2019 M8

        Regards,
        Priyankaa KVB