com.cleverpine.*
-
com.cleverpine.springlogginglibrary.util.Constants
"%d{yyyy-MM-dd HH:mm:ss.SSS}[%X{traceId}][%X{serviceId}][%C][%p] - %msg%n%throwable"
"{\n \"@timestamp\": \"${json:timeMillis}\",\n \"@version\": \"1\",\n \"message\": \"${json:message}\",\n \"logger_name\": \"${json:loggerName}\",\n \"thread_name\": \"${json:threadName}\",\n \"level\": \"${json:level}\",\n \"level_value\": \"${json:levelValue}\",\n \"stack_trace\": \"${json:thrown:stackTrace:text}\",\n \"#if($${json:contextMap:isEmpty})\": {\n \"#drop\": {}\n },\n \"#else\": {\n \"${json:contextMap}\": {}\n }\n}\n"
"Logstash"
public static final int
5000
"serviceId"
"Stdout"
"traceId"