old_contents: #!/usr/bin/python
  
  import sys, os
  from paste.deploy import loadapp, loadserver
  from paste import httpserver
  
  if __name__ == '__main__':
  	realfile = os.path.realpath(__file__)
  	realdir = os.path.dirname(realfile)
  	pardir = os.path.realpath(os.path.join(realdir, os.pardir))
  	confdir = os.path.join(pardir, 'conf')
  	paste_config = os.path.join(confdir, 'paste.config')
  	sys.path.append(pardir)
  	reporting_app = loadapp('config:' + paste_config)
  	server = loadserver('config:' + paste_config)
  	server(reporting_app)
  
new_contents: #!/usr/bin/python
  
  import sys, os
  from paste.deploy import loadapp, loadserver
  from paste import httpserver
  import logging
  
  if __name__ == '__main__':
  	logging.basicConfig()
  	realfile = os.path.realpath(__file__)
  	realdir = os.path.dirname(realfile)
  	pardir = os.path.realpath(os.path.join(realdir, os.pardir))
  	confdir = os.path.join(pardir, 'conf')
  	paste_config = os.path.join(confdir, 'paste.config')
  	sys.path.append(pardir)
  	reporting_app = loadapp('config:' + paste_config)
  	server = loadserver('config:' + paste_config)
  	server(reporting_app)
  
subject: Enable rudimentary logging to stderr in the Python start script.