When a Linux service fails under systemd, the fastest first move is usually not digging through random files in /var/log. Ask systemd what happened, then
Easy Log Rotation with Logrotate On Ubuntu
You don’t need to write your own log rotation service in Linux, you can use the built in service called logrotate super easily. Below is