[twisted] use cubicweb.twisted.logger instead of print to notify when the instance is started
--- a/etwist/server.py Wed Aug 05 08:40:20 2009 +0200
+++ b/etwist/server.py Wed Aug 05 10:52:09 2009 +0200
@@ -365,7 +365,8 @@
port = config['port'] or 8080
reactor.listenTCP(port, channel.HTTPFactory(website))
baseurl = config['base-url'] or config.default_base_url()
- print "-> Instance started on", baseurl
+ logger = getLogger('cubicweb.twisted')
+ logger.info('instance started on %s', baseurl)
if not debug:
daemonize()
if config['pid-file']: