mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
Do not logs all internal events
This commit is contained in:
parent
7e3cda904a
commit
82649dad39
@ -15,7 +15,7 @@ namespace BTCPayServer.Events
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Empty;
|
||||
return $"Invoice {InvoiceId} needs update";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ namespace BTCPayServer.Events
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Empty;
|
||||
return $"Invoice payment method activated for invoice {InvoiceId} ({PaymentMethodId.ToPrettyString()})";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ namespace BTCPayServer.Events
|
||||
public T Settings { get; set; }
|
||||
public override string ToString()
|
||||
{
|
||||
return Settings?.ToString() ?? string.Empty;
|
||||
return $"Settings {typeof(T).Name} changed";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ namespace BTCPayServer.Events
|
||||
public WalletId WalletId { get; set; }
|
||||
public override string ToString()
|
||||
{
|
||||
return String.Empty;
|
||||
return $"Wallet {WalletId} changed";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -45,6 +45,7 @@ namespace BTCPayServer
|
||||
.ConfigureLogging(l =>
|
||||
{
|
||||
l.AddFilter("Microsoft", LogLevel.Error);
|
||||
l.AddFilter("Events", LogLevel.Warning);
|
||||
l.AddFilter("System.Net.Http.HttpClient", LogLevel.Critical);
|
||||
l.AddFilter("Microsoft.AspNetCore.Antiforgery.Internal", LogLevel.Critical);
|
||||
l.AddFilter("Fido2NetLib.DistributedCacheMetadataService", LogLevel.Error);
|
||||
|
Loading…
Reference in New Issue
Block a user