Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
		<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
		  <providers>
			  <pattern>
				  <omitEmptyFields>true</omitEmptyFields>
				  <pattern>
					  {(         
						  "logTimeStamp": "$(currentTimeStamp:-)",
						  "logTypeName": "",
						  "logLevel": "%level",
						  "traceId": "%X(traceId:-)",
						  "statusCode": "",
						  "principalId": "$(username:-)",
						  "serviceName": "$(springAppName:-)",
						  "message": "%message",
						  "spanId": "%X(spanId:-)",
						  "processId": "$(PID:-)",
						  "threadName": "%thread",
						  "class": "%logger(40)",
						  "exception": "%WEx"        
					  })
				  </pattern>
			  </pattern>
		  </providers>
		</encoder>
	  </appender>

...