3

can anyone help me in this, i am trying to get Solana logs on vs code terminal but it is not showing.i tried with this command "solana logs --url localhost" but i did not get.may i know what is the reason for it ?

1 Answer 1

2

For logs

You can pass the program address as an argument like this solana logs [FLAGS] [OPTIONS] [ADDRESS] which is

solana logs --url localhost PROGRAM_ADDRESS

For more details, you can refer to this page.

3
  • still it is not showing.i tried it already
    – poojitha
    Commented Nov 16, 2022 at 9:52
  • @poojitha are you deploying to the local cluster? Commented Nov 16, 2022 at 9:57
  • yes i am deploying to the local cluster
    – poojitha
    Commented Nov 22, 2022 at 8:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.