Add long log protection.