Commit f59d2fa
committed
Log before and after
At various points we've had issues where `Event` processing for a
user possibly is taking a long time, causing other things to stall.
However, due to lack of logging during `Event` processing itself
this can be rather difficult to debug. In
85eb814 we attempted to add
logging for this, but in doing so ended up with more verbose
logging than we were comfortable with.
Instead, here, we log only when we actually process an `Event`,
directly in the callsite passing the `Event` to the user.
Fixes #3331Event processing calls1 parent 10f9123 commit f59d2fa
File tree
4 files changed
+40
-15
lines changed- lightning/src
- chain
- ln
- onion_message
4 files changed
+40
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
576 | | - | |
| 576 | + | |
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
| |||
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
912 | | - | |
| 912 | + | |
913 | 913 | | |
914 | 914 | | |
915 | 915 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
1239 | | - | |
| 1239 | + | |
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
| |||
1253 | 1253 | | |
1254 | 1254 | | |
1255 | 1255 | | |
| 1256 | + | |
1256 | 1257 | | |
1257 | | - | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
1258 | 1261 | | |
1259 | 1262 | | |
1260 | 1263 | | |
| |||
1614 | 1617 | | |
1615 | 1618 | | |
1616 | 1619 | | |
1617 | | - | |
| 1620 | + | |
| 1621 | + | |
1618 | 1622 | | |
1619 | | - | |
| 1623 | + | |
1620 | 1624 | | |
1621 | 1625 | | |
1622 | 1626 | | |
1623 | 1627 | | |
1624 | 1628 | | |
1625 | | - | |
1626 | | - | |
1627 | | - | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
1628 | 1635 | | |
1629 | | - | |
| 1636 | + | |
1630 | 1637 | | |
1631 | 1638 | | |
1632 | 1639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3321 | 3321 | | |
3322 | 3322 | | |
3323 | 3323 | | |
| 3324 | + | |
3324 | 3325 | | |
3325 | | - | |
| 3326 | + | |
| 3327 | + | |
| 3328 | + | |
3326 | 3329 | | |
3327 | 3330 | | |
3328 | 3331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1427 | 1427 | | |
1428 | 1428 | | |
1429 | 1429 | | |
1430 | | - | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
1431 | 1433 | | |
1432 | 1434 | | |
1433 | 1435 | | |
| |||
1439 | 1441 | | |
1440 | 1442 | | |
1441 | 1443 | | |
| 1444 | + | |
1442 | 1445 | | |
1443 | 1446 | | |
1444 | 1447 | | |
1445 | 1448 | | |
1446 | 1449 | | |
| 1450 | + | |
1447 | 1451 | | |
1448 | 1452 | | |
1449 | 1453 | | |
| |||
1464 | 1468 | | |
1465 | 1469 | | |
1466 | 1470 | | |
| 1471 | + | |
1467 | 1472 | | |
1468 | 1473 | | |
1469 | 1474 | | |
1470 | 1475 | | |
| 1476 | + | |
1471 | 1477 | | |
1472 | 1478 | | |
1473 | 1479 | | |
| |||
1520 | 1526 | | |
1521 | 1527 | | |
1522 | 1528 | | |
1523 | | - | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
1524 | 1533 | | |
1525 | 1534 | | |
1526 | 1535 | | |
| |||
1544 | 1553 | | |
1545 | 1554 | | |
1546 | 1555 | | |
1547 | | - | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
1548 | 1560 | | |
1549 | 1561 | | |
1550 | 1562 | | |
| |||
1566 | 1578 | | |
1567 | 1579 | | |
1568 | 1580 | | |
1569 | | - | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
1570 | 1585 | | |
1571 | 1586 | | |
1572 | 1587 | | |
| |||
0 commit comments