How to figure out why "Starting on hold tasks" is being logged every second

When I check the gateway’s Status | Logs I have this showing up every second:

MyApplication: “starting on hold tasks”

There are no errors showing in the overview or any of the other Systems or Diagnostics pages.

How do I find whatever is causing this event to be logged and fix it so that it doesn’t show up in the log?

This was easy. Our contract developer had left some test code in a 1000 ms gateway event script timer. The text of the message made me think it was generated by the gateway itself rather than by user code.

logger = system.util.getLogger("MyApplication")"Starting On Hold Tasks")

I’ll delete it and that should sort it out.