plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Each log message from plugin appears twice (at least for backup)

Open laanwj opened this issue 4 years ago • 1 comments
trafficstars

I don't know if this is specific to the backup plugin, but something that caught my attention is that every message logged to the clightning log from the plugin appears twice. Once prefixed with root (no, that is not the username) and once plain. For example:

2021-03-01T09:18:47.426Z INFO    plugin-backup.py: root        : Versions match up
2021-03-01T09:18:47.427Z INFO    plugin-backup.py: Versions match up

(low priority issue, just somewhat spammy)

laanwj avatar Mar 01 '21 09:03 laanwj

Seems like the root one comes from the logging module, and the one without prefix comes from plugin.log. I'll look into it 👍

cdecker avatar Mar 06 '21 11:03 cdecker