Skip to content

Commit 5bb3c56

Browse files
committed
COH-30977 .NET log messages include the cl number and "(TEST)"
[git-p4: depot-paths = "//dev/main.net/": change = 111572]
1 parent 7f1deff commit 5bb3c56

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Coherence/Util/Logging/Logger.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
2+
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
33
*
44
* Licensed under the Universal Permissive License v 1.0 as shown at
5-
* http://oss.oracle.com/licenses/upl.
5+
* https://oss.oracle.com/licenses/upl.
66
*/
77
using System;
88
using System.Reflection;
@@ -99,7 +99,7 @@ public static string DefaultDestination
9999
/// </value>
100100
public static string DefaultFormat
101101
{
102-
get { return "{date} {product} {version} &lt;{level}&gt; (thread={thread}): {text}"; }
102+
get { return "{date} {product} {version} <{level}> (thread={thread}): {text}"; }
103103
}
104104

105105
/// <summary>

tests/Coherence.Tests/Resources/s4hc-test-coherence.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
<logging-config>
7474
<destination>stderr</destination>
7575
<severity-level>6</severity-level>
76-
<message-format>{date} {product} {version} (TEST) &lt;{level}&gt; (thread={thread}): {text}</message-format>
7776
<character-limit>8192</character-limit>
7877
</logging-config>
7978
<security-config>

0 commit comments

Comments
 (0)