Well, that doesn't fix the problem, perhaps there is a reason why the hacklog was created, a problem with the code. I think you should CHMOD the hacklog.cgi 777 and when it turns 5mb or so CHMOD it back to 666, then open up a support ticket like CC said.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.