# Write only to wrapper.log file?

**URL:** <https://forum.inductiveautomation.com/t/write-only-to-wrapper-log-file/57095>\
**Category:** Module Development\
**Created:** [March 11, 2022, 8:23am UTC](https://forum.inductiveautomation.com/t/write-only-to-wrapper-log-file/57095 "2022-03-11T08:23:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlunapinel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mlunapinel/32/19719_2.png) [@mlunapinel](https://forum.inductiveautomation.com/u/mlunapinel)\
**Post date:** [March 11, 2022, 8:23am UTC](https://forum.inductiveautomation.com/t/write-only-to-wrapper-log-file/57095/1 "2022-03-11T08:23:34Z")

</div>

Hello all,

I was wondering if there is any non-hacky way output the logs only to the current wrapper.log file, without showing the output to the gateway’s logs.

Thanks in advance!

---

<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:** [March 11, 2022, 12:52pm UTC](https://forum.inductiveautomation.com/t/write-only-to-wrapper-log-file/57095/2 "2022-03-11T12:52:05Z")

</div>

Sure, just write directly to `System.out` instead, e.g.

```auto
System.out.println("This is my log message");

```

---

<div class="post-metadata">

**Author:** ![mlunapinel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mlunapinel/32/19719_2.png) [@mlunapinel](https://forum.inductiveautomation.com/u/mlunapinel)\
**Post date:** [March 11, 2022, 1:03pm UTC](https://forum.inductiveautomation.com/t/write-only-to-wrapper-log-file/57095/3 "2022-03-11T13:03:24Z")

</div>

Very simple, thanks!
