Changeset 3334

Show
Ignore:
Timestamp:
01/05/10 22:38:28 (10 years ago)
Author:
justinc
Message:

Disabled detailed logging for the advertiseserver

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • seattle/trunk/advertiseserver/advertiseserver.mix

    r3115 r3334  
    3535#safely write to the given log file 
    3636def write_to_log(log_file, message): 
     37  # This has been commented out to prevent logging.   
    3738  #log the request information 
    38   log_lock.acquire() 
    39   log_file.write(message) 
    40   log_file.flush() 
    41   log_lock.release() 
     39#  log_lock.acquire() 
     40#  log_file.write(message) 
     41#  log_file.flush() 
     42#  log_lock.release() 
     43  pass 
    4244 
    4345 
     
    199201  logfiledata["call_trace"] = open("log.calltrace",'a') 
    200202  logfiledata["expanded_log"] = open("log.expanded",'a') 
     203  print "Detailed logging has been disabled, see write_to_log to enable it" 
    201204   
    202205  timeout_waitforconn(getmyip(),serverport,handlerequest)