awslabs/multi-model-server

log4j2 metrics JsonLayout / QLogLayout logger broken

lxning opened this issue · 0 comments

got the following error after setting jsonlayout in frontend/server/src/main/resources/log4j2.xml

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