title: LOG4J2: how to configure JSON layout in properties file
body: <p>Does anyone know, how to write a log4j2 properties file, which outputs the logs to the console as JSON ?</p>
  
  <p>i saw this link, <a href="https://logging.apache.org/log4j/2.x/manual/layouts.html#JSONLayout" rel="noreferrer">https://logging.apache.org/log4j/2.x/manual/layouts.html#JSONLayout</a>, but it is not clear for me, how do the configuration in a properties file.</p>
  
  <p>thanks,
  Eran</p>