can't print traces when testing the Rohc library

Asked by qingbaibai on 2011-11-03

Hey, guys. I follow the #639 guide. After I ping 10.0.1 first time, traces were printed in terminal. But after I close the terminal and try to send packets again, I don't know how to see traces. I'm confused

Question information

Language:
English Edit question
Status:
Answered
For:
rohc Edit question
Assignee:
No assignee Edit question
Last query:
2011-11-03
Last reply:
2011-11-03

Hello,

The rohctunnel prints its trace on the terminal. If you close the terminal, the traces are lost (and maybe the rohctunnel process as well depending on your terminal and shell).

You may try to redirect them to a file to be able to retrieve them:
  # rohctunnel <options> >/tmp/rohctunnel.log 2>&1

On another terminal, then run the following command to watch for new traces:
  # tail -f /tmp/rohctunnel.log

Regards,
Didier

Can you help with this problem?

Provide an answer of your own, or ask qingbaibai for more information if necessary.

To post a message you must log in.