# \[bug-15415\]How to go about finding the tag populating gateway logs with error

**URL:** <https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805>\
**Category:** Ignition\
**Created:** [November 8, 2019, 9:22pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805 "2019-11-08T21:22:37Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [November 8, 2019, 9:22pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/1 "2019-11-08T21:22:37Z")

</div>

I looked at my logs today and found it filled with several pages with the same error on an expression tag. How do I go about figuring out which tag this is?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/90607b2445845bb66c9e5248a3d98e0dba953130.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 8, 2019, 9:24pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/2 "2019-11-08T21:24:58Z")

</div>

Weird that the logger is `null` too… Does the magnifying glass on the right have more info?

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [November 8, 2019, 9:25pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/3 "2019-11-08T21:25:58Z")

</div>

Log Properties  
**tag-provider** default

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 8, 2019, 9:27pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/4 "2019-11-08T21:27:22Z")

</div>

Well… at least you know what tag provider to start looking in 😆 😭

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 8, 2019, 9:28pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/5 "2019-11-08T21:28:49Z")

</div>

Is this 7.9 or 8.0?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 8, 2019, 9:28pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/6 "2019-11-08T21:28:52Z")

</div>

If you click the logger name, is there any logger name before the `null`?

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [November 8, 2019, 9:31pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/7 "2019-11-08T21:31:03Z")

</div>

v7.9  
The only other thing I see is it shows Expressions.null if I hover over the null

EDIT  
It started just after midnight today, and stopped at 6:18am

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 8, 2019, 9:38pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/8 "2019-11-08T21:38:14Z")

</div>

> [@dkhayes117](#):
>
> It started just after midnight today, and stopped at 6:18am

If it's not still happening it's too late to find out what tag it was.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [November 8, 2019, 9:39pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/9 "2019-11-08T21:39:41Z")

</div>

I guess I will just keep tabs on the logs and see if it starts again, then try to pinpoint it before it stops.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 8, 2019, 9:41pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/10 "2019-11-08T21:41:06Z")

</div>

If it happens again, go to the logging area in the gateway and search for “Tags”. Turn the base logger to DEBUG level. This will turn all `Tags.*` loggers on and may be pretty spammy, but hopefully you’ll see something about an error executing this expression tag.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 8, 2019, 9:44pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/11 "2019-11-08T21:44:11Z")

</div>

Pretty sure it’s one of the `get*(<date>)` functions; I see the bug.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 8, 2019, 10:10pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/12 "2019-11-08T22:10:25Z")

</div>

Well, it won’t help much with where it’s coming from or why it stopped happening at 6:18…but the bug with the logger name being `null` will be fixed in 7.9.13 🙂

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [November 11, 2019, 4:45pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/13 "2019-11-11T16:45:41Z")

</div>

Found it, it was a leased tag which is why it was in the logs only at certain times. I wrote a query tag that didn’t take into account the situation where no rows were returned, and it was in another expression tag which gave the error. Thanks for the bug fix

---

<div class="post-metadata">

**Author:** ![Tim](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim/32/3361_2.png) [@Tim](https://forum.inductiveautomation.com/u/Tim)\
**Post date:** [December 16, 2019, 10:10pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/14 "2019-12-16T22:10:37Z")

</div>

This does not appear to be fixed in 7.9.13. Did the fix get implemented?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 16, 2019, 10:57pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/15 "2019-12-16T22:57:26Z")

</div>

It did. To clarify, you’re still seeing the issue with a _logger_ named `null`? Is there any other attached information? Same error message being logged?

---

<div class="post-metadata">

**Author:** ![Tim](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim/32/3361_2.png) [@Tim](https://forum.inductiveautomation.com/u/Tim)\
**Post date:** [December 17, 2019, 1:29pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/16 "2019-12-17T13:29:00Z")

</div>

![Errors](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/e8179fce4184cea92c867ad3015c44868f072e63.png)

This is what I have in my logs. I updated from 7.9.12 to 7.9.13 to attempt to get more information, but there was no change.

---

<div class="post-metadata">

**Author:** ![bennuss11](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@bennuss11](https://forum.inductiveautomation.com/u/bennuss11)\
**Post date:** [September 15, 2020, 5:00pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/17 "2020-09-15T17:00:50Z")

</div>

I am currently seeing the same thing as Tim and am struggling to find the offending tag. I am not seeing anything else relevant in the logs. (Current version is 7.9.14)

Any other ideas on this?

---

<div class="post-metadata">

**Author:** ![SergioS](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@SergioS](https://forum.inductiveautomation.com/u/SergioS)\
**Post date:** [March 14, 2022, 5:30pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/18 "2022-03-14T17:30:38Z")

</div>

Hi, I have similar problem on 8.1.14

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/9/e9b3e78b56cf094d70fc987c94204bded0710520.png)

Log tellme name of tag ‘StopTime’ , but this is used 138 times in project…  
It’s possibile have completlty path in log?

Thanks

---

<div class="post-metadata">

**Author:** ![Troy](https://avatars.discourse-cdn.com/v4/letter/t/85f322/32.png) [@Troy](https://forum.inductiveautomation.com/u/Troy)\
**Post date:** [March 28, 2023, 8:04pm UTC](https://forum.inductiveautomation.com/t/bug-15415-how-to-go-about-finding-the-tag-populating-gateway-logs-with-error/29805/19 "2023-03-28T20:04:13Z")

</div>

I'm seeing `Expression.null` on 7.9.18

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/2/12bb3d4959d95da2b3b4b72674aa6a702fd25b0a.png)
