Commit c2dc53fd authored by Jeremy Bokobza's avatar Jeremy Bokobza

added the new loglevel arg to the testnet launch

parent 28587f2e
...@@ -35,11 +35,7 @@ namespace Breeze.Daemon ...@@ -35,11 +35,7 @@ namespace Breeze.Daemon
Logs.Configure(Logs.GetLoggerFactory(args)); Logs.Configure(Logs.GetLoggerFactory(args));
// get the api uri // get the api uri
var apiUri = args.SingleOrDefault(arg => arg.StartsWith("apiuri")); var apiUri = args.GetValueOf("apiuri");
if (!string.IsNullOrEmpty(apiUri))
{
apiUri = apiUri.Replace("apiuri=", string.Empty);
}
if (args.Contains("stratis")) if (args.Contains("stratis"))
{ {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
}, },
"Breeze.Daemon TestNet": { "Breeze.Daemon TestNet": {
"commandName": "Project", "commandName": "Project",
"commandLineArgs": "-testnet -tumbler-uri=http://localhost:5050 light -debug" "commandLineArgs": "-testnet -tumbler-uri=http://localhost:5050 light -debug=all -loglevel=debug"
}, },
"StratisTest": { "StratisTest": {
"commandName": "Project", "commandName": "Project",
......
...@@ -146,7 +146,7 @@ namespace Breeze.Wallet ...@@ -146,7 +146,7 @@ namespace Breeze.Wallet
if (incomingBlock.Height > this.walletTip.Height) if (incomingBlock.Height > this.walletTip.Height)
{ {
// the wallet is falling behind we need to catch up // the wallet is falling behind we need to catch up
this.logger.LogDebug($"block received with height: {inBestChain.Height} and hash: {block.Header.GetHash()} is too far in advance. put the pull back."); this.logger.LogTrace($"block received with height: {inBestChain.Height} and hash: {block.Header.GetHash()} is too far in advance. put the pull back.");
this.blockNotification.SyncFrom(this.walletTip.HashBlock); this.blockNotification.SyncFrom(this.walletTip.HashBlock);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment