启动 apimanager 时收到以下错误消息。
Getting following error message while starting apimanager.
Error:
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "PaxOsgi" for logger config "root"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_CONSOLE" for logger config "root"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "ERROR_LOGFILE" for logger config "root"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "root"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "PaxOsgi" for logger config "root"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_CONSOLE" for logger config "root"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "ERROR_LOGFILE" for logger config "root"
org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : Unable to locate appender "CARBON_LOGFILE" for logger config "root"
My log4j2.properties settings:
#### ELK Config ############
appenders = APIM_METRICS_APPENDER
appender.APIM_METRICS_APPENDER.type = RollingFile
appender.APIM_METRICS_APPENDER.name = APIM_METRICS_APPENDER
appender.APIM_METRICS_APPENDER.fileName = ${sys:carbon.home}/repository/logs/apim_metrics.log
.
.
appender.APIM_METRICS_APPENDER.policies.size.size=1000MB
appender.APIM_METRICS_APPENDER.strategy.type = DefaultRolloverStrategy
appender.APIM_METRICS_APPENDER.strategy.max = 10
loggers = reporter
logger.reporter.name = org.wso2.am.analytics.publisher.reporter.elk
logger.reporter.level = INFO
logger.reporter.additivity = false
logger.reporter.appenderRef.APIM_METRICS_APPENDER.ref = APIM_METRICS_APPENDER
您能否分享完整的错误日志来识别问题,并提及产品版本