From 3cb47380d772789d5eb1877e1847aab21cf5ec47 Mon Sep 17 00:00:00 2001 From: Cagatay YILDIZOGLU Date: Sun, 28 Mar 2021 13:06:18 +0300 Subject: [PATCH 1/2] add CultureInfo for Turkish OS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit added English CultureInfo to fix ToUpper function causes error on Turkish OS. "warning"->"WARNÄ°NG" --- src/core/Akka/Event/Logging.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Akka/Event/Logging.cs b/src/core/Akka/Event/Logging.cs index 9900557d1b7..3506dbc9002 100644 --- a/src/core/Akka/Event/Logging.cs +++ b/src/core/Akka/Event/Logging.cs @@ -270,7 +270,7 @@ public static LogLevel LogLevelFor(string logLevel) { if (!string.IsNullOrEmpty(logLevel)) { - logLevel = logLevel.ToUpper(); + logLevel = logLevel.ToUpper(new System.Globalization.CultureInfo("en-EN")); } switch (logLevel) From de45171a4ac56bf004116ddb9b32f0ab38d86ab0 Mon Sep 17 00:00:00 2001 From: Cagatay YILDIZOGLU Date: Wed, 31 Mar 2021 19:13:27 +0300 Subject: [PATCH 2/2] fix LogLevel TR char error --- src/core/Akka/Event/Logging.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Akka/Event/Logging.cs b/src/core/Akka/Event/Logging.cs index 3506dbc9002..05d334b8eac 100644 --- a/src/core/Akka/Event/Logging.cs +++ b/src/core/Akka/Event/Logging.cs @@ -270,7 +270,7 @@ public static LogLevel LogLevelFor(string logLevel) { if (!string.IsNullOrEmpty(logLevel)) { - logLevel = logLevel.ToUpper(new System.Globalization.CultureInfo("en-EN")); + logLevel = logLevel.ToUpperInvariant(); } switch (logLevel)