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": "S{$(currentTimeStamp:-})",
						  "logTypeName": "",
						  "logLevel": "%level",
						  "traceId": "%X{(traceId:-})",
						  "statusCode": "",
						  "principalId": "S{$(username:-})",
						  "serviceName": "S{$(springAppName:-})",
						  "message": "%message",
						  "spanId": "%X{(spanId:-})",
						  "processId": "S{$(PID:-})",
						  "threadName": "%thread",
						  "class": "%logger{(40})",
						  "exception": "%WEx"        
					  }
				  </pattern>
			  </pattern>
		  </providers>
		</encoder>
	  </appender>

...