# Session events issues

**URL:** <https://forum.inductiveautomation.com/t/session-events-issues/97206>\
**Category:** General Discussion\
**Created:** [October 14, 2024, 8:00am UTC](https://forum.inductiveautomation.com/t/session-events-issues/97206 "2024-10-14T08:00:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [October 14, 2024, 8:28pm UTC](https://forum.inductiveautomation.com/t/session-events-issues/97206/2 "2024-10-14T20:28:22Z")

</div>

You are attempting to create a logger with the same name twice, remove the second call to `system.util.getLogger` (line 7).

Other than that I'm not seeing anything out of place. `id` might be an unsupported logger name, try changing it to something like `hostId` or similar.

Also, post code, not pictures of code. It helps when someone needs to try your code themselves.

> [@Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831):
>
> This thread is intended as a short help file for all those struggling to post formatted code on the forum. Code block formatting Posting formatted code on the forum (and most others) is as simple as selecting the code and pressing the \</\> button. It works the same as applying Bold or Italic styles to your document. It preserves indentation and applies syntax highlighting. [How to post code] Note that all the \</\> button does is add three backticks ``` on the line before the code block and anot…

---

_[View the full topic](https://forum.inductiveautomation.com/t/session-events-issues/97206)._
