Michelle Fitzgerald

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Critical issue 5.1.2 details #30517
    Michelle Fitzgerald
    Participant

    Hi Jason,

    Yes, its through redirect – I guess I have a workaround on this in the current setup, so will monitor and see how performs.

    Thanks for your help,
    Michelle

    in reply to: Critical issue 5.1.2 details #30515
    Michelle Fitzgerald
    Participant

    Hi Jason,

    Yes I have modified the init script to create PKF logs. If I just leave the lora-logging.conf as follows all works :

    /var/log/lora-*.log {
    size 512k
    rotate 4
    compress
    copytruncate
    missingok
    postrotate

    }

    Is a restart of the packet forwarder required – normally we would not restart unless there was a configuration change, or loss of power.

    Thanks,
    Michelle

    in reply to: Critical issue 5.1.2 details #30512
    Michelle Fitzgerald
    Participant

    Hi Jason,

    I added the following to /etc/logrotate.d/lora-logging.conf (taken from

    /var/log/lora-*.log {
    size 512k
    rotate 4
    compress
    copytruncate
    missingok
    postrotate
    set -e;
    /usr/bin/killall -HUP lora_pkt_fwd || true;
    /usr/bin/killall -HUP lora-network-server || true;
    endscript
    }

    While it does rotate the log files, once the packet forwarder restarts it does not log to /var/log/lora-pkt-fwd-1.log. The gw is running 1.7.4.

    regards,
    Michelle

    in reply to: Critical issue 5.1.2 details #30510
    Michelle Fitzgerald
    Participant

    Hi,
    Came across this issue on a gateway, where the packet forwarder logs filled up disk space – implemented the fix above, and although it does rotate the logs, when the packet forwarder is restarted it doesn’t generate any further logs. Omitting the packet forwarder restart from /etc/logrotate.d/lora-logging.conf file seems to fix this – is a restart of the packet forwarder a requirement ?

    Thanks,
    Michelle

Viewing 4 posts - 1 through 4 (of 4 total)