Hi Tony,
The error messages show Ryu is trying to output the log into
"var/log/ryu/ryu.log", but
"var/log/ryu/" directory is missing.
By default, Ryu does not output the log into such place (does not output log
file).
https://github.com/osrg/ryu/blob/e1e85052f5563f120b1e62fd9282946be6154f5b/ryu/log.py#L40-L41
Did you specify "--log-dir" or "--log-file" option to ryu-manager?
Or creating "var/log/ryu/" directory should solve this problem, I guess.
Thanks,
Iwase
On 2017年10月25日 14:16, ktkhan khan wrote:
Hi,
It may be trivial, I just started to work on RYU.
I downloaded RYU, additional tools( paramiko,ncc,lxml) and Mininet.
I started my mininet terminal and it works perfectly fine( setting switch,
hosts and controller)
When I ran first application given on Writing Your Ryu Application
<https://ryu.readthedocs.io/en/latest/developing.html>.
from ryu.base import app_manager
class L2Switch(app_manager.RyuApp):
def __init__(self, *args, **kwargs):
super(L2Switch, self).__init__(*args, **kwargs)
### after that I ran
ryu-manager ~/l2.py
It throws an error.
how can i fix the error: no file or directory /var/log/ryu/ryu.log
Is it related to installation or do I need to write a log file.
Thanks!
Tony.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel