From b63875d2565f63e69dd2bc9d6713800acf69059a Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Tue, 12 Mar 2024 14:58:41 +0200 Subject: [PATCH] Remove the caller class too - see https://logging.apache.org/log4j/2.x/manual/layouts.html#location-information --- pulsar-broker/src/test/resources/log4j2.xml | 2 +- tiered-storage/jcloud/src/test/resources/log4j2-test.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pulsar-broker/src/test/resources/log4j2.xml b/pulsar-broker/src/test/resources/log4j2.xml index e1f31e6de23ac..94443543b7c13 100644 --- a/pulsar-broker/src/test/resources/log4j2.xml +++ b/pulsar-broker/src/test/resources/log4j2.xml @@ -24,7 +24,7 @@ xsi:schemaLocation="http://logging.apache.org/log4j/2.0/config https://logging.apache.org/log4j/2.0/log4j-core.xsd"> - + diff --git a/tiered-storage/jcloud/src/test/resources/log4j2-test.yml b/tiered-storage/jcloud/src/test/resources/log4j2-test.yml index c8f5c7b49566b..087a0b494f897 100644 --- a/tiered-storage/jcloud/src/test/resources/log4j2-test.yml +++ b/tiered-storage/jcloud/src/test/resources/log4j2-test.yml @@ -33,12 +33,12 @@ Configuration: name: STDOUT target: SYSTEM_OUT PatternLayout: - Pattern: "%d{ISO8601_OFFSET_DATE_TIME_HHMM} [%t:%C] %-5level %logger{36} - %msg%n" + Pattern: "%d{ISO8601_OFFSET_DATE_TIME_HHMM} [%t] %-5level %logger{36} - %msg%n" File: name: File fileName: ${filename} PatternLayout: - Pattern: "%d %p %C{1.} [%t] %m%n" + Pattern: "%d %p [%t] %m%n" Filters: ThresholdFilter: level: error