@@ -62,6 +62,10 @@ public static void LoadSettings()
6262
6363 CaptureErrorCookies = Get ( "Stackify.CaptureErrorCookies" , bool . FalseString ) . Equals ( bool . TrueString , StringComparison . CurrentCultureIgnoreCase ) ;
6464
65+ CaptureErrorUserName = Get ( "Stackify.CaptureErrorUserName" , bool . TrueString ) . Equals ( bool . TrueString , StringComparison . CurrentCultureIgnoreCase ) ;
66+
67+ CaptureErrorPostdata = Get ( "Stackify.CaptureErrorPostdata" , bool . FalseString ) . Equals ( bool . TrueString , StringComparison . CurrentCultureIgnoreCase ) ;
68+
6569 ApiKey = Get ( "Stackify.ApiKey" , ApiKey ?? string . Empty ) ;
6670
6771 AppName = Get ( "Stackify.AppName" , AppName ?? string . Empty ) ;
@@ -183,21 +187,14 @@ public static void LoadSettings()
183187 public static bool CaptureErrorPostdata { get ; set ; }
184188 public static bool CaptureErrorHeaders { get ; set ; } = true ;
185189 public static bool CaptureErrorCookies { get ; set ; }
186-
190+ public static bool CaptureErrorUserName { get ; set ; } = true ;
187191 public static string CaptureErrorSessionWhitelist { get ; set ; }
188-
189192 public static string CaptureErrorHeadersWhitelist { get ; set ; }
190-
191193 public static string CaptureErrorHeadersBlacklist { get ; set ; } = "cookie,authorization" ;
192-
193194 public static string CaptureErrorCookiesWhitelist { get ; set ; }
194-
195195 public static string CaptureErrorCookiesBlacklist { get ; set ; } = ".ASPXAUTH" ;
196-
197196 public static int Ec2InstanceMetadataUpdateThresholdMinutes { get ; set ; } = 60 ;
198-
199197 public static bool ? IsEc2 { get ; set ; }
200-
201198 public static bool ? ApiLog { get ; set ; }
202199
203200 public static int LoggingJsonMaxFields { get ; set ; } = 50 ;
0 commit comments