Lnd: itest: btcd backend logs not complete

Created on 1 Sep 2020  路  2Comments  路  Source: lightningnetwork/lnd

Because btcd uses logrorate, when the log file size exceeds 10MB, it's compressed and saved as a .gz file, as shown in this line.

On the other hand, in the itest, only the uncompressed logs are saved, as shown in this line.
Debugging itest will sometimes need all the logs.

The logrorate settings should be configured for lnd nodes too, using --maxlogfiles=0 to disable log rotation when running integration tests.

bug itests

Most helpful comment

I'll take this one.

All 2 comments

I'll take this one.

I'll wait for #4617 to be merged.

Was this page helpful?
0 / 5 - 0 ratings