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 :ryu-manager myapp, but I found nothing in log.txt
However I run it as: python myapp, everythong goes will, and 'test' in
log.txt
I think ryu do some tricks, could anyone tell me the reason?
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