We cannot create an empty file on rotation as the rotation is done by Supybot and there is no option to achieve creating an empty file. Instead I added a check in the log processing script to check for the log file before reading it and if the log file is missing, a dummy log message is added.