We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently users can only access relayer logs by printing out the log file at ~/.avalanche-cli/runs/awm-relayer.log.
~/.avalanche-cli/runs/awm-relayer.log
Could we implement a avalanche teleporter relayer logs command that not only print it out, but also formats the json?
avalanche teleporter relayer logs
So this here:
{"level":"info","timestamp":"2024-06-04T14:44:50.233Z","logger":"awm-relayer","caller":"relayer/listener.go:510","msg":"Unpacked warp message","sourceBlockchainID":"epm5fG6Pn1Y5rBHdTe36aZYeLqpXugreyHLZB5dV81rVTs7Ku","originSenderAddress":"0xa4DfF80B4a1D748BF28BC4A271eD834689Ea3407","destinationBlockchainID":"rqZ1LH6rCiMdxJCeJjALdrLLu3S8QuiYwhQYZMhY9buqyRcYA","destinationAddress":"0x52C84043CD9c865236f11d9Fc9F56aa003c1f922","warpMessageID":"2DGSSNNaZWAwmftPika8k7yW5qYw7kWDuNGmbzVf8LcpCDpqLM"} {"level":"info","timestamp":"2024-06-04T14:44:50.233Z","logger":"awm-relayer","caller":"relayer/listener.go:321","msg":"Relaying message","sourceBlockchainID":"epm5fG6Pn1Y5rBHdTe36aZYeLqpXugreyHLZB5dV81rVTs7Ku","warpMessageID":"2DGSSNNaZWAwmftPika8k7yW5qYw7kWDuNGmbzVf8LcpCDpqLM"} {"level":"info","timestamp":"2024-06-04T14:44:50.244Z","logger":"awm-relayer","caller":"relayer/application_relayer.go:256","msg":"Fetching aggregate signature from the source chain validators via AppRequest"} {"level":"info","timestamp":"2024-06-04T14:44:50.255Z","logger":"awm-relayer","caller":"relayer/application_relayer.go:467","msg":"Created signed message.","destinationBlockchainID":"rqZ1LH6rCiMdxJCeJjALdrLLu3S8QuiYwhQYZMhY9buqyRcYA"} {"level":"info","timestamp":"2024-06-04T14:44:50.255Z","logger":"awm-relayer","caller":"teleporter/message_manager.go:209","msg":"Sending message to destination chain","destinationBlockchainID":"rqZ1LH6rCiMdxJCeJjALdrLLu3S8QuiYwhQYZMhY9buqyRcYA","warpMessageID":"2DGSSNNaZWAwmftPika8k7yW5qYw7kWDuNGmbzVf8LcpCDpqLM","teleporterMessageID":"2PncbYfGKaXC5gdh27Cg1aPUkR7bZyU7VEYCpqffEcXz9as4cX"} {"level":"info","timestamp":"2024-06-04T14:44:50.258Z","logger":"awm-relayer","caller":"evm/destination_client.go:182","msg":"Sent transaction","txID":"0x57346edb603cb34379046baa67c895f5b7f61300d4f3464d1e41b6cbee2ed054"} {"level":"info","timestamp":"2024-06-04T14:44:50.258Z","logger":"awm-relayer","caller":"teleporter/message_manager.go:264","msg":"Sent message to destination chain","destinationBlockchainID":"rqZ1LH6rCiMdxJCeJjALdrLLu3S8QuiYwhQYZMhY9buqyRcYA","warpMessageID":"2DGSSNNaZWAwmftPika8k7yW5qYw7kWDuNGmbzVf8LcpCDpqLM","teleporterMessageID":"2PncbYfGKaXC5gdh27Cg1aPUkR7bZyU7VEYCpqffEcXz9as4cX"} {"level":"info","timestamp":"2024-06-04T14:44:50.258Z","logger":"awm-relayer","caller":"relayer/application_relayer.go:180","msg":"Finished relaying message to destination chain","destinationBlockchainID":"rqZ1LH6rCiMdxJCeJjALdrLLu3S8QuiYwhQYZMhY9buqyRcYA"} {"level":"info","timestamp":"2024-06-04T14:44:50.522Z","logger":"awm-relayer","caller":"relayer/listener.go:272","msg":"Processing block","sourceBlockchainID":"rqZ1LH6rCiMdxJCeJjALdrLLu3S8QuiYwhQYZMhY9buqyRcYA","blockNumber":6}
turns into this:
| | Time | Chain | Log | |--- |---------- |---------- |--------------------------------------------------------------------------------------------- | | ℹ️ | 14:44:50 | C-Chain | Unpacked warp message Source Contract: 0xa4DfF80B4a1D748BF28BC4A271eD834689Ea3407 | | ℹ️ | 14:44:50 | | Relaying message | | ℹ️ | 14:44:50 | mysubnet | Created signed message. | | ℹ️ | 14:44:50 | mysubnet | Sending message to destination chain | | ℹ️ | 14:44:50 | mysubnet | Sent Transaction Tx ID: 0x57346edb603cb34379046baa67c895f5b7f61300d4f3464d1e41b6cbee2ed054 | | ℹ️ | 14:44:50 | mysubnet | Sent message to destination chain | | ℹ️ | 14:44:50 | mysubnet | Finished relaying message to destination chain | | ⛔️ | 14:45:20 | C-Chain | Some Error... | | ℹ️ | 14:45:21 | C-Chain | Processing block Block Number: 6 |
The text was updated successfully, but these errors were encountered:
felipemadero
Successfully merging a pull request may close this issue.
Currently users can only access relayer logs by printing out the log file at
~/.avalanche-cli/runs/awm-relayer.log
.Could we implement a
avalanche teleporter relayer logs
command that not only print it out, but also formats the json?So this here:
turns into this:
The text was updated successfully, but these errors were encountered: