SAP Knowledge Base Article - Preview

3422330 - Missing logs after deployment

Symptom

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Huge number of the logs is missing after the deployment. In the HAC, logging list is empty for all nodes.

Furthermore, in the logs below errors can be observed:

org.apache.logging.log4j.core.config.ConfigurationException: No name attribute provided for Logger <logger name>`
     at de.hybris.platform.task.logging.MediaFileLogListener.getLogLayout(MediaFileLogListener.java:121)
     at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2142)
     at de.hybris.platform.processengine.process.ProcessengineTaskRunner.lambda$withRunErrorHandling$7(ProcessengineTaskRunner.java:595)
     at de.hybris.platform.processengine.task.impl.ProcessengineTaskExecutionStrategy.run(ProcessengineTaskExecutionStrategy.java:30)
     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
     at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:253)
     at de.hybris.platform.processengine.process.ProcessengineTaskRunner.doRun(ProcessengineTaskRunner.java:149)
     at de.hybris.platform.processengine.process.ProcessengineTaskRunner.lambda$run$0(ProcessengineTaskRunner.java:112)
     at de.hybris.platform.processengine.process.ProcessengineTaskRunner.lambda$withLogging$6(ProcessengineTaskRunner.java:535)
     at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:690)
     at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155)
     at org.apache.logging.log4j.LogManager.getContext(LogManager.java:157)
     at org.apache.logging.slf4j.Log4jLogger.error(Log4jLogger.java:309)

java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager


Read more...

Environment

SAP Commerce Cloud (CCv2)

Product

SAP Commerce Cloud 2205 ; SAP Commerce Cloud 2211

Keywords

No name attribute provided for Logger, Could not initialize class org.apache.log4j.LogManager, logging list is empty, no logs after the deployment, no logs, missing logs,  , KBA , CEC-SCC-CLA-ENV-LOM , Logging and Monitoring , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.