Log4j 2 compatible with MPS?

Hi, 

 

I am using log4j 2 in MPS. But getting many issues.

One such issue in running test is,

java.lang.StackOverflowError
at org.apache.log4j.Category.forcedLog(Category.java:391)
at org.apache.log4j.Category.error(Category.java:322)
at jetbrains.mps.logging.Log4jUtil.error(Log4jUtil.java:70)
at jetbrains.mps.logging.Log4jLogger.error(Log4jLogger.java:42)
at jetbrains.mps.logging.Logger.error(Logger.java:87)
at jetbrains.mps.logging.Logger.error(Logger.java:82)
at jetbrains.mps.smodel.SNodeAccessUtilImpl.getPropertyImpl(SNodeAccessUtilImpl.java:72)
at org.jetbrains.mps.openapi.model.SNodeAccessUtil.getProperty(SNodeAccessUtil.java:43)
at jetbrains.mps.lang.smodel.generator.smodelAdapter.SPropertyOperations.getString(SPropertyOperations.java:19)

 

Is MPS compatible with log4j 2?

Should I configure anything to use log4j 2 additionally?

1 comment
Comment actions Permalink

I guess we use log4j version 1.2 so MPS does not guarantee any compatibility.

Also it is not clear from the stack trace what causes the SOE

0

Please sign in to leave a comment.