# Write the sl4J logs into a text file

**URL:** <https://forum.katalon.com/t/write-the-sl4j-logs-into-a-text-file/23332>\
**Category:** API Testing\
**Tags:** api-testing, katalon-studio\
**Created:** [April 17, 2019, 12:23am UTC](https://forum.katalon.com/t/write-the-sl4j-logs-into-a-text-file/23332 "2019-04-17T00:23:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 26, 2019, 9:59pm UTC](https://forum.katalon.com/t/write-the-sl4j-logs-into-a-text-file/23332/4 "2019-04-26T21:59:33Z")

</div>

In [How can I change the message format of WebUI.comment("msg")? + logging into FILE](http://forum.katalon.com/t/how-can-i-change-the-message-format-of-webui-comment-msg/17559) I described how to overwrite the Logback configuration dynamically. It worked. But I am afraid that technique is not very easy.

@devalex88 once expressed his opinion:

> [@How can I change the message format of WebUI.comment("msg")? + logging into FILE](http://forum.katalon.com/t/how-can-i-change-the-message-format-of-webui-comment-msg-logging-into-file/17559/7):
>
> I think a possible improvement here is that Katalon Studio will look for the Logback configuration file in the current project first.

Yes, this would be the most intuitive method of customizing Logback setup.

@pdokuparthi,

KS v6.1.2 does not support looking for the Logback configuration file in the current Katalo project. Katalon Studio app needs to be changed.

---

_[View the full topic](https://forum.katalon.com/t/write-the-sl4j-logs-into-a-text-file/23332)._
