Compare commits
No commits in common. "42d937f1afc2533f8a1c17c7a3138f2365d79741" and "5867a882c6917b263f8170012b6943b658933e02" have entirely different histories.
42d937f1af
...
5867a882c6
@ -26,8 +26,7 @@ namespace YTExtractor.Logging.Configuration
|
||||
.Enrich.WithEnvironmentName()
|
||||
//.Enrich.WithMachineName()
|
||||
.Enrich.WithProperty("Application", "YTExtractor")
|
||||
.Enrich.WithProperty("Workspace", workspace)
|
||||
.WriteTo.Console();
|
||||
.Enrich.WithProperty("Workspace", workspace);
|
||||
|
||||
// Testa a conectividade com o Seq se estiver configurado
|
||||
if (!string.IsNullOrEmpty(seqServer))
|
||||
@ -101,7 +100,7 @@ namespace YTExtractor.Logging.Configuration
|
||||
try
|
||||
{
|
||||
using var httpClient = new HttpClient();
|
||||
httpClient.Timeout = TimeSpan.FromSeconds(10);
|
||||
httpClient.Timeout = TimeSpan.FromSeconds(2);
|
||||
var response = httpClient.GetAsync($"{seqUrl}/api").Result;
|
||||
|
||||
if (response.IsSuccessStatusCode)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user