RAM usage slowly climbing, is there a better way to store logs?

running adblock fast and https-dns-proxy, i have logs saving to /tmp because its in ram, is there a way to auto purge the oldest part of the log to maintain a filesize limit, or would i just have to schedule a reboot to clear ram?

would it be better to not log at all and just turn on when im having an issue?

logrotate...

i didnt know that existed lol, also i mistook your name as a program name. its to early lol