Ignore:
Timestamp:
06/25/15 14:27:54 (9 years ago)
Author:
atzm
Message:
  • logging support
File:
1 edited

Legend:

Unmodified
Added
Removed
  • etherws/trunk/README.rst

    r279 r280  
    128128Advanced Usage 
    129129============== 
     130 
     131Proxy 
     132----- 
     133You can create WebSocket tunnels via HTTP proxy.  Proxy server's address and 
     134port number are specified by generic environment variables: e.g. *$http_proxy* 
     135 
     136See https://docs.python.org/library/urllib.html for more information about 
     137environment variables for the proxy. 
     138 
     139Logging 
     140------- 
     141etherws uses standard logging library.  You can customize the logger using the 
     142*fileConfig* described in https://docs.python.org/library/logging.config.html 
     143 
     144To run *etherws sw* with the custom logger:: 
     145 
     146  # etherws sw --logconf /path/to/logging.ini 
     147 
     148etherws uses a logger stream named "etherws".  And internally Tornado uses 
     149some logger streams described in http://www.tornadoweb.org/en/stable/log.html 
     150 
     151Note: etherws does not write debug logs even if you simply configure loglevel 
     152DEBUG, to avoid performance degradation.  To write debug logs, you can 
     153specify *--debug* option. 
    130154 
    131155Remote Control 
     
    203227======= 
    2042281.3 
     229  - logging support 
    205230  - http proxy support on client connection 
    206231  - fix listport bug on tornado 4.0.x 
Note: See TracChangeset for help on using the changeset viewer.