So... I discovered that my wtmp file was really big today, like 2.1GB.
I deleted it and recreated it, but...
Is there any way I can tell logrotate to well, rotate the log?
Logrotate figures out which files need to be rotated based on the settings in /etc/logrotate.conf.
I think the default for wmtp is
If that's not in there, you can add it. If it's not sufficient, you can change it, or add a "size = whatever" directive to tell it to rotate whenever the size exceeds the set value.
Logrotate should be in the