On Wed, 7 May 2014 20:16:24 +1200
Karthik Sharma <[email protected]> wrote:

> I want to put some debug information inside the file
> ryu/topology/switches.py.
> 
> Which of the following should I use?
> 
> - LOG.debug()
> 
> - print()
> 
> - self.logger.info()

The recommendation is using self.logger

> Where can I see this debug information
> 
> - in the console ? (should I use --verbose)

Yes, by default. If you use --verbose, messages with logger.debug()
show up.

If you use --use-syslog, the log messages go to syslogd.

> - in some log file? (where?)
> 
> Thanks & Regards,
> Karthik

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to