fix initial logeventlevel (#1880)

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
This commit is contained in:
Thomas Bolon 2021-03-08 19:40:09 +01:00 committed by GitHub
parent 76d9fc092f
commit 9c7c7eff22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ namespace OpenTelemetry.Internal
private string logDirectory; // Log directory for log files
private int logFileSize; // Log file size in bytes
private long logFilePosition; // The logger will write into the byte at this position
private EventLevel logEventLevel;
private EventLevel logEventLevel = (EventLevel)(-1);
public SelfDiagnosticsConfigRefresher()
{