Fix Log levels (less spam)
The following loglines should be demoted to TRACE:
2023-01-18 07:53:28 Electrum: ERROR - [172.18.0.9:35114] connection handling failed: ["failed to send {\"id\":636,\"jsonrpc\":\"2.0\",\"result\":{\"height\":775930,\"hex\":\"0000a020be8cf06afb367", "Broken pipe (os error 32)"]
2023-01-15 14:34:04 Electrum: INFO - [172.18.0.9:44486] disconnected peer ((185, 151) out of (2000, 5000) connection slots used)
2023-01-15 14:34:25 Electrum: INFO - [172.18.0.9:46638] connected peer ((186, 152) out of (2000, 5000) connection slots used)
2023-01-18 07:57:34 Electrum: INFO - notified via SIG10
2023-01-18 02:07:06 Electrum: WARN - reader thread failed: invalid request - maybe SSL-encrypted data?: [22, 3, 1, 1, 9, 1, 0, 1, 5, 3, 3, 3, 89, 170, 183, 207, 68, 253, 134, 204, 30, 158, 219, 142, 163, 144, 90, 53, 1, 5, 111, 95, 45, 46, 42, 236, 96, 253, 206, 243, 7, 44, 54, 32, 144, 161, 54, 30, 123, 99, 29, 145, 57, 169, 122, 144, 78, 192, 215, 206, 90, 105, 114, 71, 151, 59, 33, 41, 39, 141, 16, 148, 91, 161, 49, 54, 0, 38, 204, 168, 204, 169, 192, 47, 192, 48, 192, 43, 192, 44, 192, 19, 192, 9, 192, 20, 192, 10]
2023-01-18 02:07:30 Electrum: WARN - reader thread failed: invalid UTF8: invalid utf-8 sequence of 1 bytes from index 1
2023-01-18 02:07:31 Electrum: ERROR - [107.150.126.151:52006] connection handling failed: ["invalid JSON format", "expected value at line 1 column 1"]
2023-01-18 02:07:31 Electrum: WARN - reader thread failed: channel closed
This one does not make much sense:
2023-01-18 07:49:40 Electrum: INFO - Downloading new block headers (775929 already indexed) from 0000000000000000027005770d2e78f1e6fbf86df6c5ee121877cf1022818b3a
2023-01-18 07:49:40 Electrum: INFO - Downloading headers progress: 0 fetched...
Edited by Dagur Valberg Johannsson