Skip to content

Commit

Permalink
Minor perf optimization (#5152)
Browse files Browse the repository at this point in the history
  • Loading branch information
utpilla authored Dec 11, 2023
1 parent 13791e2 commit cd000be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/OpenTelemetry/Internal/SelfDiagnosticsConfigRefresher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Tracing;
using System.IO.MemoryMappedFiles;
using System.Text;

namespace OpenTelemetry.Internal;

Expand All @@ -18,7 +17,7 @@ namespace OpenTelemetry.Internal;
/// </summary>
internal class SelfDiagnosticsConfigRefresher : IDisposable
{
public static readonly byte[] MessageOnNewFile = Encoding.UTF8.GetBytes("If you are seeing this message, it means that the OpenTelemetry SDK has successfully created the log file used to write self-diagnostic logs. This file will be appended with logs as they appear. If you do not see any logs following this line, it means no logs of the configured LogLevel is occurring. You may change the LogLevel to show lower log levels, so that logs of lower severities will be shown.\n");
public static readonly byte[] MessageOnNewFile = "If you are seeing this message, it means that the OpenTelemetry SDK has successfully created the log file used to write self-diagnostic logs. This file will be appended with logs as they appear. If you do not see any logs following this line, it means no logs of the configured LogLevel is occurring. You may change the LogLevel to show lower log levels, so that logs of lower severities will be shown.\n"u8.ToArray();

private const int ConfigurationUpdatePeriodMilliSeconds = 10000;

Expand Down

0 comments on commit cd000be

Please sign in to comment.