Comments (3)
- Make some counter proposals to this api design or accept it.
- Make a draft pr showing how to pass the logger into the system so it is not a pain and gets down to ibcclient
- After review of above, add logging commands
from ts-relayer.
- log verbose on every signAndBroadcast (saying what message sent)
- log debug on every signAndBroadcast (showing the message body being sent, and gas paid)
- we just throw errors, the caller is responsible for catching them and logging them as errors
- if there is any case that really shouldn't happen, add a warn (i cannot think of one)
- consider adding info/verbose calls for the high level link ones (createNewConnection -> log.info("creating new connection between musselnet-4 and bifrost-2"))
Later we can review these with user feedback. Log all/some queries at debug/verbose level? What to add/remove?
This issue is just to get a good attempt at logging to iterate on
from ts-relayer.
One user is our integration tests. We should be able to turn up log-level to debug and rerun tests and get useful information to start pinpointing the error (and from there maybe more debug statements). We can pass in a mock logger that just goes to console and ignores any level not explicitly enabled.
from ts-relayer.
Related Issues (20)
- Socket hang up HOT 3
- Use osmosis, Gaia, wasmd in CI
- error while setting the IBC , HOT 1
- Error curl: (6) Could not resolve host: faucet.oysternet.cosmwasm.com
- Document using ts-relayer for integration tests HOT 2
- Discord faucet link expired HOT 1
- error: registry.yaml validation failed. HOT 2
- Want local-juno config HOT 3
- Release build of 0.6.0 outdated HOT 1
- feature: Ability to output in `json` from `ibc-setup` HOT 3
- Key management improvements HOT 6
- Use newer / more common test framework HOT 2
- Sending multiple packets from one tansaction (or msg?) not supported HOT 8
- Remove log parsing (parsePacketsFromLogs 🚮)
- Limit number of packets per transaction HOT 1
- error: Query failed with (6) HOT 1
- Restore Browser Compatibility HOT 2
- Don't relay packets from other clients/connections HOT 3
- Error using `timeoutPackets()` in v0.12.0
- Hello, Team HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ts-relayer.