got the following error after setting jsonlayout in frontend/server/src/main/resources/log4j2.xml
`
<RollingFile
name="ts_metrics"
fileName="${env:METRICS_LOCATION:-logs}/ts_metrics.log"
filePattern="${env:METRICS_LOCATION:-logs}/ts_metrics.%d{dd-MMM}.log.gz">
ERROR Unable to invoke factory method in class org.apache.logging.log4j.core.layout.JsonLayout for element JSONLayout: java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.layout.JsonLayout java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.layout.JsonLayout
Please have a look at FAQ's and Troubleshooting guide, your query may be already addressed.
Your issue may already be reported! Please search on the issue tracker before creating one.
Context
Your Environment
Expected Behavior
See doc
Current Behavior
got the following error after setting jsonlayout in frontend/server/src/main/resources/log4j2.xml ` <RollingFile name="ts_metrics" fileName="${env:METRICS_LOCATION:-logs}/ts_metrics.log" filePattern="${env:METRICS_LOCATION:-logs}/ts_metrics.%d{dd-MMM}.log.gz">
`
ERROR Unable to invoke factory method in class org.apache.logging.log4j.core.layout.JsonLayout for element JSONLayout: java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.layout.JsonLayout java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.layout.JsonLayout
Current Behavior
Possible Solution
Steps to Reproduce
1. 2. ...
Failure Logs [if any]