http: identify node/wallet in log
This commit is contained in:
parent
39684df605
commit
d9044960ad
@ -39,7 +39,7 @@ class HTTP extends Server {
|
||||
super(new HTTPOptions(options));
|
||||
|
||||
this.network = this.options.network;
|
||||
this.logger = this.options.logger.context('http');
|
||||
this.logger = this.options.logger.context('node-http');
|
||||
this.node = this.options.node;
|
||||
|
||||
this.chain = this.node.chain;
|
||||
|
||||
@ -42,7 +42,7 @@ class HTTP extends Server {
|
||||
super(new HTTPOptions(options));
|
||||
|
||||
this.network = this.options.network;
|
||||
this.logger = this.options.logger.context('http');
|
||||
this.logger = this.options.logger.context('wallet-http');
|
||||
this.wdb = this.options.node.wdb;
|
||||
this.rpc = this.options.node.rpc;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user