Blockstream / electrs

An efficient re-implementation of Electrum Server in Rust
MIT License
324 stars 131 forks source link

Removing text prefix that makes the log an invalid json #72

Closed rem1-dev closed 8 months ago

rem1-dev commented 8 months ago

ELECTRUM-RPC-LOGGER: prefix causes problem because with it included in the log line the log interpreted as a json is invalid. Therefore a preprocessing that removes this prefix, or reads json with an offset from the log, should be used to fix it. However I think it's better to remove this log prefix.