I figured out what I was after. logfn = os.path.join(os.environ['APPDATA'], directory, filename) ensure_path(logfn) logging.config.fileConfig("logging.conf", defaults={'logfn': logfn})
In the config file use: [handler_fileHandler] class=FileHandler level=DEBUG formatter=simpleFormatter args=(r'%(logfn)s', 'w') -- http://mail.python.org/mailman/listinfo/python-list