Skip to content

Commit

Permalink
fixed logFilePath (removed extra dot)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrapavy committed Feb 6, 2024
1 parent 4cb6b4a commit 62a8c3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static LoggerConfiguration ConfigureEcs(this LoggerConfiguration configur
var directory = Path.GetDirectoryName(logFilePath) ?? string.Empty;
var filename = Path.GetFileNameWithoutExtension(logFilePath);
var extension = Path.GetExtension(logFilePath);
logFilePath = Path.Combine(directory, $"{filename}.ECS.{extension}");
logFilePath = Path.Combine(directory, $"{filename}.ECS{extension}");

configuration.WriteTo.Async(c => c.File(EcsTextFormatter, logFilePath, rollingInterval: RollingInterval.Day));
}
Expand Down

0 comments on commit 62a8c3e

Please sign in to comment.