The log directory is a temporary file system and will be cleaned on a reboot. However it’s used for log files only. Usually there should not that much logs generated to fill the directory. Definitely something you would need to check where the logs are coming from
du -a /var/log | sort -n -r | head -n 20