add support for specifying log_format strings