Jump to content

Log2ram for all logs from /var/log


Grass

Recommended Posts

Hi! Thank you for the best os, for single board computers!

Info:

Board: Orange pi one 512mb ram, H3 cpu, flash 8gb transcend 10c.

OS Armbian Bionic, last release.

 

Aditional info: intalled asterisk16 from src with chan_dongle, freepbx 15, fail2ban. I configured call recording, 3g modems for voice calls. All works fine! But now i have problems with logs...

Asterisk make so many logs, flash will die after a week of use. But i need this logs, for make some debug, and ofcourse for fail2ban.

From Armbian-Docs, i understand OS have preinstalled zram and log2ram, but i dont understand how to configure them for:

Then os boot, i need to make VIRTUAL DISK 100MB from ram symlink to /var/log/.

All logs will be there for 24 hours, and by cron delete, and start collecting new.

Logs never save to SD card.

 

I want to make image with all preinstalled software what works on 99% and share with other people.

 

Need your help guys!

Thank for your time!

P.s. i am sorry for my bad english.

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines