Hi Wei-Li,
Thank you much for your help, it works very well now!
Thanks again and best wishes!
2014-11-28 9:54 GMT+08:00 Wei-Li Tang :
> Hi Yafeng,
>
> You can use --log-* arguments with ryu-manager.
>
> e.g.
> ryu-manager --log-file=/home/ubuntu/Desktop/yaphone/log/log.txt myapp
>
> See ryu-man
Hi Yafeng,
You can use --log-* arguments with ryu-manager.
e.g.
ryu-manager --log-file=/home/ubuntu/Desktop/yaphone/log/log.txt myapp
See ryu-manager --help for the usage.
2014-11-27 23:42 GMT+08:00 Yafeng Zhou :
> Hi,FUJITA
>
> Thank you for you help.
> * I am a newer in both ryu and python
Hi,FUJITA
Thank you for you help.
* I am a newer in both ryu and python, I just don't know how to use this
moudle *https://github.com/osrg/ryu/blob/master/ryu/log.py , if I use it,
where the log saved? And what shoud I do if I want to save the log to other
path?
Thank you very much!
2014-11-
On Thu, 27 Nov 2014 22:34:02 +0800
Yafeng Zhou wrote:
> Hello,all,
>
> I am trying to use the logging module in my app, the codes like this:
>
> import logging
>
> logging.basicConfig(filename='/home/ubuntu/Desktop/yaphone/log/log.txt',
> level=logging.NOTSET)
> LOG = logging.getLogger('my
Hello,all,
I am trying to use the logging module in my app, the codes like this:
import logging
logging.basicConfig(filename='/home/ubuntu/Desktop/yaphone/log/log.txt',
level=logging.NOTSET)
LOG = logging.getLogger('myapp')
LOG.setLevel(logging.NOTSET)
LOG.info('test')
and run the app as :r