본문 바로가기

Develop/AEM

AEM 6 SP2 - View (Tail) CQ Log Files

http://experience-aem.blogspot.kr/2015/03/aem-6-sp2-view-tail-cq-log-files.html




AEM 6 SP2 - View (Tail) CQ Log Files

Goal


Quick post on creating a Tail Log servlet for examining the logs on remote CQ instances; if you are debugging issues on a friend's CQ instance or QA, deploying this servlet could be helpful. Ootb, logs can be viewed by logging into felix console (http://localhost:4502/system/console/status-slinglogs) or doing a remote login (ssh) or http://localhost:4502/bin/crxde/logs?tail=1000

Demo | Package Install | Source Code

View error log : http://localhost:4502/bin/experience-aem/tail/log

View specific log (eg. access.log) : http://localhost:4502/bin/experience-aem/tail/log?log=access

Clear: Clears the current log view

Color Line Begin - First few characters of the line are colored (next fetch)

Start Line At - Cut out the first few characters of line, say timestamp (next fetch)

Line Min Length - Only the lines with length greater than entered number are returned (next fetch)

Line Max Length - Only the lines with length less than entered number are returned (next fetch)

Trim to Size - Cut the line to specified size (next fetch)

If Line Contains - Get line only if it contains the entered string (next fetch)

Not If Line Contains - Get line only if it does not contain entered string (next fetch)


'Develop > AEM' 카테고리의 다른 글

AEM Package Builder  (0) 2018.07.02
AEM Mode Change Support  (0) 2018.06.21
DAM File Upload API  (0) 2016.11.21
어도비 깃허브  (0) 2016.11.21
폰트 파일 업로드 및 ServerFilePath  (0) 2016.11.21