Hi Yafeng,

Ryu's log messages are only written to stdout by the default. You need to
use ryu-manager option.

e.g.)
$ ryu-manager --log-file=ryu.log

You can check for more details by following command.
$ ryu-manager -h

Thanks,
Satoshi

2014-11-28 1:09 GMT+09:00 Yafeng Zhou <[email protected]>:

> Hi all,
>
>   I am a newer in ryu, could anyone tell me where is the log saved by the
> controller if I write the code like this:
>
> self.logger.info("packet in %s %s %s %s", dpid, src, dst, in_port)
>
> And what should I do if I want save the log to other path?
> Thank you in advance!
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to