Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 494

Show
Ignore:
Timestamp:
07/22/05 12:56:52
Author:
speno
Message:

Made the Serving HTTP log line more user friendly when using an INET
socket.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/server.py

    r493 r494  
    151151        port = cherrypy.config.get('server.socketPort') 
    152152        check_port(host, port) 
    153         onWhat = "socket: ('%s', %s)" % (host, port) 
     153        if not host: 
     154            host = 'localhost' 
     155        onWhat = "http://%s:%s/" % (host, port) 
    154156    else: 
    155157        onWhat = "socket file: %s" % cherrypy.config.get('server.socketFile') 

Hosted by WebFaction

Log in as guest/cpguest to create tickets