bitcoinjs / indexd

An external bitcoind index management service module
ISC License
53 stars 23 forks source link

(Trivial) Inconsistent date format in logs #23

Closed unsystemizer closed 6 years ago

unsystemizer commented 6 years ago

In some cases such as this one below, certain components use a different date format. Probably something from upstream, in which case feel free to close.

2017-10-30T14:35:27.153Z zmq:tx hashtx ef108ac19e62d4b2c3c0adfb4a8dde787a41abde0                                                                                     6e02bcab907980c41b9821f
Mon, 30 Oct 2017 14:35:27 GMT mempool { transactions: 284, inputs: 450, outputs: 505 }
dcousens commented 6 years ago

I can only assume this is upstream... but how odd. Both are using debug?

dcousens commented 6 years ago

Is it possible your local debug is different to what has been required in this package? (https://github.com/bitcoinjs/indexd/blob/master/package.json#L7)

Maybe we should make it an optional dependency and allow *?

dcousens commented 6 years ago

Namespaced debug and made it optional in 0a07d06 - re-open if not fixed

unsystemizer commented 6 years ago

Ok. I checked and run-parallel seems correct and installed. I just updated and re-checked other deps, so I'll reopen if I spot this again.

root@indexd:/indexd/node_modules/run-parallel# cat package.json | grep version
  "version": "1.1.6"