mLinux persistent system logging

Home Forums Conduit: mLinux Model mLinux persistent system logging

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32790

    Hi,

    We use several custom application on Conduit which log to the systemlog and rsyslog separate its to /var/log directory. In var directory the log directory is a symlink to /var/volatile/log, we would like to change that to /var/persistent/log to make our logs persistent after reboot. I found a generated script /etc/volatile.cache which provides the log directory setup on every startup. Is it safe if I change that script to symlink log directory to /var/persistent/log or is there an other way to make our logs persistent?

    Best regards,
    Dániel Nánási

    #32791
    Jeff Hatch
    Keymaster

    Hello Dániel,

    I think your proposal should work in theory. However, I would warn that the reason the logs are not persistent on the device is that when under heavy logging load, the NAND flash can start having issues that can cause writes to fail and various other negative affects.

    If the system is not logging heavily it may work fine.

    Thank You,

    Jeff

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.