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

**URL:** <https://forum.inductiveautomation.com/t/how-to-figure-out-why-starting-on-hold-tasks-is-being-logged-every-second/42092>\
**Category:** Ignition\
**Created:** [January 9, 2021, 8:50pm UTC](https://forum.inductiveautomation.com/t/how-to-figure-out-why-starting-on-hold-tasks-is-being-logged-every-second/42092 "2021-01-09T20:50:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [January 9, 2021, 8:50pm UTC](https://forum.inductiveautomation.com/t/how-to-figure-out-why-starting-on-hold-tasks-is-being-logged-every-second/42092/1 "2021-01-09T20:50:23Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [January 10, 2021, 12:33pm UTC](https://forum.inductiveautomation.com/t/how-to-figure-out-why-starting-on-hold-tasks-is-being-logged-every-second/42092/2 "2021-01-10T12:33:08Z")

</div>

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.

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

```

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