# Newline character not processed by logback logstash JSON appender in Spring boot logger

**URL:** <https://discuss.elastic.co/t/newline-character-not-processed-by-logback-logstash-json-appender-in-spring-boot-logger/318841>\
**Category:** Logstash\
**Created:** [November 14, 2022, 9:00am UTC](https://discuss.elastic.co/t/newline-character-not-processed-by-logback-logstash-json-appender-in-spring-boot-logger/318841 "2022-11-14T09:00:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayanth91](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@jayanth91](https://discuss.elastic.co/u/jayanth91)\
**Post date:** [November 14, 2022, 9:00am UTC](https://discuss.elastic.co/t/newline-character-not-processed-by-logback-logstash-json-appender-in-spring-boot-logger/318841/1 "2022-11-14T09:00:58Z")

</div>

> <https://stackoverflow.com/questions/74401903/newline-character-not-processed-by-logback-logstash-json-appender-in-spring-boot>

So i'm trying to format my json string but somehow the newline characters are not being processed and get printed as-is.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 12, 2022, 9:01am UTC](https://discuss.elastic.co/t/newline-character-not-processed-by-logback-logstash-json-appender-in-spring-boot-logger/318841/2 "2022-12-12T09:01:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
