# Gateway Logs - Log Properties

**URL:** <https://forum.inductiveautomation.com/t/gateway-logs-log-properties/117491>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [October 15, 2026, 12:08am UTC](https://forum.inductiveautomation.com/t/gateway-logs-log-properties/117491 "2026-10-15T00:08:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![harrison.m.freeman](https://avatars.discourse-cdn.com/v4/letter/h/54ee81/32.png) [@harrison.m.freeman](https://forum.inductiveautomation.com/u/harrison.m.freeman)\
**Post date:** [October 15, 2026, 12:08am UTC](https://forum.inductiveautomation.com/t/gateway-logs-log-properties/117491/1 "2026-10-15T00:08:56Z")

</div>

Hi Everyone,

I am pulling gateway logs into a table just fine, but I would like to display a bit more info. Something like the 'log properties' (the little magnifying glass that shows you the project name, device name etc. associated with the message) would be very helpful. Are the message 'log properties' stored somewhere? Can they be queried? As always, any help/info is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![pratikppatil999](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@pratikppatil999](https://forum.inductiveautomation.com/u/pratikppatil999)\
**Post date:** [October 15, 2026, 4:37am UTC](https://forum.inductiveautomation.com/t/gateway-logs-log-properties/117491/2 "2026-10-15T04:37:15Z")

</div>

```python
from com.inductiveautomation.ignition.gateway import IgnitionGateway
from com.inductiveautomation.ignition.common.logging import LogQueryConfig

manager = IgnitionGateway.get().getLoggingManager()

config = LogQueryConfig.newBuilder().build()
config.setLimit(200)

results = manager.queryLogEvents(config)
rows = []

for event in results.getEvents():
    properties = event.getProperties()

    rows.append({
        "timestamp": system.date.fromMillis(event.getTimestamp()),
        "level": str(event.getLevel()),
        "loggerName": str(event.getLoggerName()),
        "message": str(event.getMessage()),
        "properties": str(properties) if properties else ""
    })
system.perspective.print("rows"+str(rows))

```

Use this on Perspective component any Event Action (onStartup, onActionPerformed, onClick ... etc), you can get the log properties, and other data.
