Apparently, the code does not support log4j2. It wants letter-only values for autolink_jira, see https://github.com/apache/infrastructure-asfyaml/blob/5f0aabb0dfeee0f67d877ac31abfcc5528670643/asfyaml/feature/github/__init__.py#L46 (note string.ascii_uppercase there)
I guess you could file a PR if you want log4j2 to be supported. Vladimir