# How to reset Tag value every day

**URL:** <https://forum.inductiveautomation.com/t/how-to-reset-tag-value-every-day/22922>\
**Category:** Ignition\
**Created:** [February 27, 2019, 1:20pm UTC](https://forum.inductiveautomation.com/t/how-to-reset-tag-value-every-day/22922 "2019-02-27T13:20:19Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [February 28, 2019, 9:13pm UTC](https://forum.inductiveautomation.com/t/how-to-reset-tag-value-every-day/22922/9 "2019-02-28T21:13:59Z")

</div>

Check on your gateway web page under Status-\>Gateway Scripts–\>Tag Change:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6b857de03cf04b5abc12dd77ea42964c171a1393.png)  
It will show last time each script ran and whether it succeeded or failed. Failure messages will show in log below.

You can also add your own logs there by adding code like this to your script:

```python
# Get logger with name 'GatewayEventScripts.TagChange' (you can name it nearly anything you want).
logger = system.util.getLogger('GatewayEventScripts.TagChange')
# Log your message. You can include variables in log too.
logger.info('your log message with calc value: %i' %(calcValue))

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-reset-tag-value-every-day/22922)._
