from twisted.python.log import startLogging, logfile
observer = startLogging(stdout, setStdout=False)
getLogger().addHandler(StreamHandler(stream=logfile))
logging to file with twistd and python logging