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

Pyydä apua nopeammin ja helpommin

Oletko uusi käyttäjä?

Adobe MAX 2024

Adobe MAX
Luovuuskonferenssi

14.–16.10. Miami Beach ja verkossa

Adobe MAX

Luovuuskonferenssi

14.–16.10. Miami Beach ja verkossa

Adobe MAX 2024

Adobe MAX
Luovuuskonferenssi

14.–16.10. Miami Beach ja verkossa

Adobe MAX

Luovuuskonferenssi

14.–16.10. Miami Beach ja verkossa