This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/2.x by this push:
new fb683e11b5 Add timestamp to StatusLogger in tests
fb683e11b5 is described below
commit fb683e11b52e6ecc21a987277889958800310e97
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Wed Sep 6 14:06:48 2023 +0200
Add timestamp to StatusLogger in tests
---
.../src/test/resources/log4j2.StatusLogger.properties | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/log4j-core-test/src/test/resources/log4j2.StatusLogger.properties
b/log4j-core-test/src/test/resources/log4j2.StatusLogger.properties
new file mode 100644
index 0000000000..1fa30d7e9d
--- /dev/null
+++ b/log4j-core-test/src/test/resources/log4j2.StatusLogger.properties
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+##
+# Adds a timestamp to StatusLogger messages to debug race conditions
+log4j2.statusLoggerDateFormat = HH:mm:ss.SSS