I added to LogFormat directive in archetype.
But it was not work and the following warning.
Apache configuration uses non-whitelisted directives: LogFormat
In the first place, Is the customize LogFormat supported in AEM as a Cloud?
mod_log_config module(one of the directive of this module is LogFormat) is not part of Supported Modules list now per the below doc
We can make use of validator, part of SDK to check the list of supported modules. Details for the same is mentioned in the same link.