[arm-allstar] Disable Deletion of connectlog
Michael Webb
mike.wg5eek at gmail.com
Fri Apr 3 10:09:39 EDT 2020
Doug,
Thank you for the quick response, and sorry for my delayed one. Is there a
specific reason as to not keep a log locally on the SD card? There are
several other logs that don't get deleted at reboot and with the small
amount of traffic on my node, I'm not concerned with file size or too many
read/writes to the SD card as I make monthly full image backups of the SD
card and compress them so I can quickly restore to a new card and be back
up and running.
Working with a friend who has more programming knowledge than I do, we came
up with a very simple log that is written to the home directory, and I've
created a button in Supermon that opens it but it is not as detailed and
clean looking of a log as smlogger is. I would prefer to not have to
connect a USB drive to the Raspberry Pi, is there any other solution to the
connectlog being deleted upon reboot?
Mike
WG5EEK
On Thu, Apr 2, 2020 at 12:27 PM "Doug Crompton via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:
> Mike,
>
> This file should not go to the SD card. It currently goes to RAM storage
> and not the SD card thus it is vulnerable at boot. You need to get and
> install a USB stick, any size, to one of the USB slots and then store the
> data there. The current location could be a symbolic link to the SD card.
> You could also store the data to another computer but the USB stick is the
> best solution. I run them on my hub systems and store log data and other
> repetitive things there. You could also use a SSD drive with a USB adapter
> if desired.
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
> On Thu, Apr 2, 2020 at 3:19 PM "Michael Webb via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > I'm wanting to prevent the connectlog located in /var/log/asterisk/ from
> > being deleted after every asterisk restart or pi reboot. I'm not
> concerned
> > with file size as I will archive it as needed. Thank you for any
> > assistance.
> >
> > Mike
> > WG5EEK
> > _______________________________________________
> >
> > ARM-allstar mailing list
> > ARM-allstar at hamvoip.org
> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >
> > Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
> >
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>
More information about the ARM-allstar
mailing list