diff --git a/dotnet/src/webdriver/Firefox/FirefoxDriverService.cs b/dotnet/src/webdriver/Firefox/FirefoxDriverService.cs
index da2ec12f282db..cbaacd3d02148 100644
--- a/dotnet/src/webdriver/Firefox/FirefoxDriverService.cs
+++ b/dotnet/src/webdriver/Firefox/FirefoxDriverService.cs
@@ -104,9 +104,13 @@ protected override DriverOptions GetDefaultDriverOptions()
public string? LogPath { get; set; }
///
- /// Disable truncation of long log lines in GeckoDriver.
+ /// Gets or sets a value indicating whether to disable truncation of long log lines in GeckoDriver.
///
- public bool LogNoTruncate { get; set; }
+ ///
+ /// A value indicates no log truncation setting to specify.
+ /// Set to to disable truncation, or to enable truncation.
+ ///
+ public bool? LogTruncate { get; set; }
///
/// Directory in which GeckoDriver creates profiles.
@@ -199,7 +203,7 @@ protected override string CommandLineArguments
argsBuilder.Append(" --jsdebugger");
}
- if (this.LogNoTruncate)
+ if (this.LogTruncate is true)
{
argsBuilder.Append(" --log-no-truncate");
}