I have use Python Paste Deploy script to deploy a Flask+Gunicorn project. However, i can not write access_log_format in deploy script with (h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)". Because we %(h)s format has special meaning in Paste Deploy script. As descripted in the doc:
You can use variable substitution, which will pull variables from
the section [DEFAULT] (case sensitive!) with markers like %
(var_name)s. The special variable %(here)s is the directory
containing the configuration file;
However can i get around this?