← Back to team overview

rohc team mailing list archive

Re: Tunnel tool ping error

 

Hi Didier,

>
> > > In practice, to retrieve all the information, you may start the
> > > rohctunnel tool as follow:
> > >  # rohctunnel <parameters> \
> > >     1> rohc_library.log \
> > >     2> rohc_tunnel.log \
> > >     3> rohc_comp.stats \
> > >     4> rohc_decomp.stats
> > > And have a look at content written in the 4 log files.
> >
> > I used the redirection commands above, but while rohc_library.log and
> > rohc_tunnel.log did contain information, both rohc_comp.stats and
> > rohc_decomp.stats remained empty.
>
> The system bufferizes the messages for performance reasons, so they are
> not written to the files immediately. I you wait some time or stop the
> rochtunnel tool, they should be flushed and you should then see them in
> the files rohc_comp.stats and rohc_decomp.stats.
>
> The problem may be definitively corrected by forcing the system to
> flush the statistics messages to disk after every new line. I opened a
> bug in the bugtracker and fixed the problem in the 1.2.x branch and in
> the trunk. See https://bugs.launchpad.net/rohc/trunk/+bug/414032
>
> In order to get the correction, you may retrieve the latest version
> of the 1.2.x branch or apply the attached patch to the source code you
> already have. Thank you for reporting the problem.
>

Thanks a lot; after patching  the stats did appear on closing the tunnel
tool.

Regards,
Josephine

References