Added Serilog file logger for debug file support. (#323)

This commit is contained in:
Aaron Clauson
2018-10-15 17:37:42 +02:00
committed by Nicolas Dorier
parent e1751c4d91
commit d7785fe2d2
4 changed files with 24 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ namespace BTCPayServer.Configuration
app.Option("--sshkeyfile", "SSH private key file to manage BTCPay (default: empty)", CommandOptionType.SingleValue);
app.Option("--sshkeyfilepassword", "Password of the SSH keyfile (default: empty)", CommandOptionType.SingleValue);
app.Option("--sshtrustedfingerprints", "SSH Host public key fingerprint or sha256 (default: empty, it will allow untrusted connections)", CommandOptionType.SingleValue);
app.Option("--debuglog", "A rolling log file for debug messages.", CommandOptionType.SingleValue);
foreach (var network in provider.GetAll())
{
var crypto = network.CryptoCode.ToLowerInvariant();