Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
hi Team,
As my organization uses a docker container to run local AEM instance, I am NOT able to find log files or even crx/quickstart folder to play with.
I understand this question is more specific to AEM with docker, but has anyone in this forum happen to find the AEM log files for the local instance ? Otherwise, how we can debug our code while AEM running inside docker ?
I have been asked to use the below command to tail the logs, but I want to know the actual location of the AEM logs folder.
docker exec -it aem tail --lines 0 -f ./crx-quickstart/logs/error.log
Thanks !
Solucionado! Ir para a Solução.
Visualizações
respostas
Total de curtidas
Hi,
Of course this will completely depend on how the Docker image is set up.. but here are some pointers:
PS: I see you are looking for ./crx-quickstart inside the container, but a typical place to find AEM and the crx-quickstart folder is at /opt/aem/[author|publisher]/crx-quickstart
Visualizações
respostas
Total de curtidas
Hi,
Of course this will completely depend on how the Docker image is set up.. but here are some pointers:
PS: I see you are looking for ./crx-quickstart inside the container, but a typical place to find AEM and the crx-quickstart folder is at /opt/aem/[author|publisher]/crx-quickstart
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Hi, I've been working on local AEM projects with Docker for some time. Here's how you can achieve tailing logs for your running local docker AEM instance.
Assuming that your system supports UNIX commands, and your local docker instances are running, here goes:
Docker documentation can be found here: https://docs.docker.com/engine/reference/commandline/exec/
I hope this helps.
Visualizações
respostas
Total de curtidas
Please let me know
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Your DockerFile should include some environment variables:
environment:
CQ_JVM_OPTS: "-server -Xmx1024m -Xdebug -agentlib:jdwp=transport=dt_socket,address=7000,server=y,suspend=n -XX:MaxPermSize=256M -Djava.awt.headless=true -Djava.io.tmpdir=/tmp -Dorg.apache.sling.commons.log.level=ERROR -Dorg.apache.sling.commons.log.file="
CQ_RUNMODE: "publish,nosamplecontent"
CQ_PORT: "4503"
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas