First log combat routine was not working, second log combat routine is working. I want to know what the problem was.