Removed a never ending while loop.
Fixed so the log will only log once per configured minute.