diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6803f5d..b8a1628 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,7 @@ on: push: branches: - feature/* + - develop release: types: [created] diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 5ab0818..656aaaa 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -1,81 +1,68 @@ - + - - + + - - - - %highlight(%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", UTC}) | %highlight(${LOG_LEVEL_PATTERN:-%5p}) | %highlight(%magenta(${PID:- })) | %highlight(%yellow(%X{traceId:-None})) | %highlight([%15.15t]) | %highlight(%cyan(%-40.40logger{39})) | %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%ex} - - - - - - - + + ${LOGGING_FILE_NAME:-./cdr-client.log} + true - - - ${LOGGING_FILE_NAME:-./cdr-client.log} - true + + ${LOGGING_FILE_NAME:-./cdr-client.log}.%d{yyyy-MM-dd}.%i.log + ${LOGGING_LOGBACK_ROLLINGPOLICY_MAX_FILE_SIZE:-100MB} + ${LOGGING_LOGBACK_ROLLINGPOLICY_MAX_HISTORY:-2} + - - ${LOGGING_FILE_NAME:-./cdr-client.log}.%d{yyyy-MM-dd}.%i.log - ${LOGGING_LOGBACK_ROLLINGPOLICY_MAX_FILE_SIZE:-100MB} - ${LOGGING_LOGBACK_ROLLINGPOLICY_MAX_HISTORY:-2} - - - - %d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", UTC} | ${%level:-%5p} | ${PID:- } | %X{traceId:-None} | [%15.15t] | %-40.40logger{39} | %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%ex} - - - - - - - - timestamp - UTC - - - logger - - - level - - - thread - - - mdc - - - - - - stackTrace - - - 200 - 14000 - true - - - - - exceptionClass - - - - - - - - - + + %d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", UTC} | ${%level:-%5p} | ${PID:- } | %X{traceId:-None} | [%15.15t] | %-40.40logger{39} | + %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%ex} + + + + + + + + timestamp + UTC + + + logger + + + level + + + thread + + + mdc + + + + + + stackTrace + + + 200 + 14000 + true + + + + + exceptionClass + + + + + + + +