pihole logs become VERY large

I run pihole in a docker on an Unraid server. The pihole.log file was becoming very large and was being stored in the docker container which was causing problems. I was able to figure out how to move these logs to the appdata folder (now in /appdata/pihole/log/pihole), but the pihole.log file is still getting large - in about 16 hours it has grown to 43MB. How do I limit the size of this log?
There is a second issue as well - my pihole-FTL.db file is now 3.9GB and growing. Apparently you can limit the amount of logging that occurs here by putting some parameters in pihole-FTL.conf.

  1. What parameters should I put into the conf file? I don't really care too much about examining the logs but I guess it is useful to have some logging. One day, or even a few hours would be enough for me.

  2. If I make this change will it automatically trim the pihole-FTL.db file or will I have to trim it myself of delete this file and let it start over.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.