How to reconfigure CQ5 log file paths

<log-file>
    <log-file-name>logs/access.log</log-file-name>
</log-file>

Sling Logs: crx-quickstart/logs/error.log

You can configure the sling error.log which is normally under crx-quickstart/logs/error.log in this file:

crx-quickstart/launchpad/config/org/apache/sling/commons/log/crx-quickstart/launchpad/config/org/apache/sling/commons/log/LogManager.config

alternatively the same configuration can be done at runtime via the Felix console under/system/console/configMgr/org.apache.sling.commons.log.LogManager
http://localhost:4504/system/console/configMgr/org.apache.sling.commons.log.LogManager

Sling Logs: crx-quickstart/request.log and crx-quickstart/access.log

You can configure the access.log and request.log paths here:

crx-quickstart/launchpad/config/org/apache/sling/engine/impl/log/RequestLogger.config

alternatively the same configuration can be done at runtime via the Felix console under/system/console/configMgr/org.apache.sling.engine.impl.log.RequestLogger
http://localhost:4504/system/console/configMgr/org.apache.sling.engine.impl.log.RequestLogger

Apache Felix Logs: crx-quickstart/launchpad/logs/error.log

You can configure the crx-quickstart/launchpad/logs/error.log path in crx-quickstart/launchpad/sling.properties file under the property:

org.apache.sling.commons.log.file

 

Applies to

CQ5.X

 Adobe

Få hjelp raskere og enklere

Ny bruker?

Adobe MAX 2024

Adobe MAX
Kreativitetskonferansen

14.–16. oktober, Miami Beach og på nettet

Adobe MAX

Kreativitetskonferansen

14.–16. oktober, Miami Beach og på nettet

Adobe MAX 2024

Adobe MAX
Kreativitetskonferansen

14.–16. oktober, Miami Beach og på nettet

Adobe MAX

Kreativitetskonferansen

14.–16. oktober, Miami Beach og på nettet