How to set a limit to log-file-length / to maximum used log-file-space?

i did not find any section (on the pihole/admin - site) to change my log.
as there are more services running on my pi than only pi-hole, i dont want my pi to die on "no SD-Card space available any more" and want to limit the log-space.

what kind of settings are possible like logs only up to 150 megabytes or logs only last 60 days etc
and how do i set them?

if i didnt look/found the section this / my problem is solved/described i excuse me herefor in advance,

kind regards,
mjmw

Only the last few days of logs are kept (see them under /var/log/). You can limit the size of the long term stats database though via FTL's config: Configuration - Pi-hole documentation

1 Like

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