title: How to customize message attribute of JSON Logging using logstash-logback-encoder?
body: <blockquote>
  <p>I am using logstash-logback-encoder to print logs in json format.</p>
  </blockquote>
  <blockquote>
  <p>Below is my logback-spring.xml</p>
  </blockquote>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;configuration&gt;
  &lt;appender name=&quot;sample&quot; class = &quot;org.ssn.app.config.CustomLogService&quot;&gt;
  &lt;/appender&gt;
    &lt;appender name=&quot;STDOUT&quot; class=&quot;ch.qos.logback.core.ConsoleAppender&quot;&gt;
      &lt;encoder class=&quot;net.logstash.logback.encoder.LogstashEncoder&quot;&gt;
      &lt;provider class=&quot;net.logstash.logback.composite.loggingevent.ArgumentsJsonProvider&quot;/&gt;
      &lt;/encoder&gt; 
      
   
    &lt;/appender&gt;
    &lt;logger name=&quot;org.ssn.app&quot; additivity=&quot;false&quot; level=&quot;DEBUG&quot;&gt;
      &lt;appender-ref ref=&quot;STDOUT&quot;/&gt;
  &lt;/logger&gt;
    &lt;root level=&quot;INFO&quot;&gt;
    
      &lt;appender-ref ref=&quot;STDOUT&quot;/&gt;
      
    &lt;/root&gt; 
    
    
  &lt;/configuration&gt;
  </code></pre>
  <blockquote>
  <ol>
  <li>Below my code snippet</li>
  </ol>
  </blockquote>
  <pre><code>    JSONObject lJsonObj = new JSONObject();
      lJsonObj.put(&quot;dl_no&quot;,&quot;DL10252&quot;);
      logger.debug(lJsonObj.toString,Markers.append(&quot;ss&quot;,&quot;sss&quot;));
  </code></pre>
  <blockquote>
  <ol start="2">
  <li>The output is below</li>
  </ol>
  </blockquote>
  <pre><code>{
      &quot;@timestamp&quot;: &quot;2021-06-17T18:49:07.914+05:30&quot;,
      &quot;@version&quot;: &quot;1&quot;,
      &quot;message&quot;: &quot;{\&quot;dl_no\&quot;:\&quot;DL10252\&quot;}&quot;,
      &quot;logger_name&quot;: &quot;org.ssn.app.controller.TestController1&quot;,
      &quot;thread_name&quot;: &quot;http-nio-8080-exec-1&quot;,
      &quot;level&quot;: &quot;DEBUG&quot;,
      &quot;level_value&quot;: 10000,
      &quot;ss&quot;: &quot;sss&quot;
  }
  </code></pre>
  <blockquote>
  <p>Is there is any way to modify the message attribute's value data type so that we can avoid &quot;\&quot; &gt;back slashes? Because typically i want to put JSON or nested JSON inside message attribute's &gt;value
  and want to view them without any backslashes</p>
  </blockquote>