Hi Satoshi,
Thank you very much for your help, it works very well now! And I even don't
know "ryu-manager -h" before!
Thanks again and best wishes!
2014-11-28 13:41 GMT+08:00 Yafeng Zhou <[email protected]>:
> Hi Satoshi,
>
> Thank you very much for your help, it works very well now! And I even know
> "ryu-manager -h" before!
>
> Thanks again and best wishes!
>
>
> 2014-11-28 10:20 GMT+08:00 Satoshi KOBAYASHI <[email protected]
> >:
>
>> 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