title: How to print Spring Boot log in both text and json format using logback?
body: <p>For logging we are using Logback. Currently we are using Splunk for viewing the Spring Boot log. As per the project requirement we need to move towards Kibana. For that first we should have log in JSON format so that Kibana can easily process it. Currently we are not replacing Splunk with Kibana but when integration successful with Kibana then gradually we can replace Splunk in all the projects.</p>
  <p>Hence as per the requirement we need existing log i.e. in text log but for R&amp;D purpose we need JSON log as well.</p>