I did a research about this. sharing my findings here.
Tomcat logs grow with no enforced size limits, they roll only once per day and are never purged in Tomcat.
Tomcat uses JULI logging by default, which does not provide for log file rotation based on the file size limit. The default JULI logging configuration will allow log files to grow unbounded and they ...
you can refer to the following links apache_Access_Log_Valve and Extended_Access_Log_Valve
Example : on application.properties
server.tomcat.accesslog.enabled=true ( Should work)
It turns out that CMS side of DXA 2.2 for SDL Web 8.5 has a bug (or incompatibility with Java DXA 2.2 side) which is causing values of Schemas to be generated as a List<RichTextData> instead of List<String> in the ExtensionData of the JSON page model.
As in our case, InheritMetadataPageModelBuilderi is using the method GetTypedArrayOfValues which ...