You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now neuron supports exporting debug information to analyze issues users have submitted, and most cases can be fixed because they have certain patterns, which will be facilitated by self-service debug information analysis
But the following actions are not included:
cannot export the entire log of ckb node/light client because the size is huge;
cannot export transactions that are not signed/submitted successfully because
a transaction is too complex to be printed in log file;
it's hard to determine if a transaction should be reported, e.g., a rejected transaction that is pending for a long time;
cannot export blocked block/transaction because a block/transaction is too complex to be printed in log file.
For point 1, a shortcut to the directory of ckb node log can be added so users can open the folder easily when the entire log is required.
For point 2 and 3, a runtime log may be introduced so necessary information can be exported selectively.
The runtime log may keep printing real-time logs, e.g.
synced transaction, a functional button could be provided to inspect the modification along with this transaction, for instance, balance update, live cells update
submitted transaction with a functional button to inspect the modification of neuron's status
rejected/failed to sign transaction with a functional button to dump it for analysis
synced block, similar to synced transaction
error, with a functional button to export its context, e.g. error tracing, wallet status(live cells, block height)
Besides, I would suggest adding interactive utilities with the runtime log to make it extensible. E.g.
basic query to fetch information of an address(script info, live cells, deal cells, etc), submit a raw transaction to sign.,
basic query to fetch transactions of various statuses (committed, pending, rejected)
command line tool to run lumos method
filters to filter log entries by specific condition
log level
keyword
type
range
freeze/lock to disable printing more logs(I found a term of it, "Now Mode")
real-time statistic, shows the difference in status introduced by those logs, e.g cell count, address count, block count, transaction count, during this launch
Now neuron supports exporting debug information to analyze issues users have submitted, and most cases can be fixed because they have certain patterns, which will be facilitated by self-service debug information analysis
But the following actions are not included:
For point 1, a shortcut to the directory of ckb node log can be added so users can open the folder easily when the entire log is required.
For point 2 and 3, a runtime log may be introduced so necessary information can be exported selectively.
The runtime log may keep printing real-time logs, e.g.
Besides, I would suggest adding interactive utilities with the runtime log to make it extensible. E.g.
Some examples:
@yanguoyu @homura @devchenyan @WhiteMinds @zhangyouxin do you have more ideas to improve debug/report?
The text was updated successfully, but these errors were encountered: