Finally we have log rotation!

I guess i was not the only one tired of creating huge backups because of the logs … well we have log rotation now!

Initially i wanted to support both size and time based rotation, but given how unreliable the time is on the rpi0 due to the lack of an hardware clock, i decided to save us tons of bugs :smiley:

        # file to log to
        path: /var/log/pwnagotchi.log
            enabled: true
            # specify a maximum size to rotate ( format is 10/10B, 10K, 10M 10G )
            size: '10M'