python logging format strings