Downloading AEM logs without accessing the filesystem via System Diagnosis Page Download shows empty file | Community
Skip to main content
maryani
Level 2
September 12, 2023

Downloading AEM logs without accessing the filesystem via System Diagnosis Page Download shows empty file

  • September 12, 2023
  • 3 replies
  • 2644 views

I tried login with Admin credentials and tried to download logs from below URL,

 

System Diagnosis Page Download a system status ZIP export from the system diagnosis page: https://localhost:4502/libs/granite/operations/content/diagnosis.html (select Download Status ZIP).

 

but the size of logs file is showing more than 100mb but the downloaded file is empty and error while opening the granite_status.zip file, Please let me know if there anyway to download logs 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

sherinregi-1
Community Advisor
Community Advisor
September 12, 2023

Hi @maryani 

 

If you have access to system/console you can also download logs as zip from the below path

http://localhost:4502/system/console/status-slinglogs

 

 

 

Also on the diagnosis page can you try checking the thread dump alone and see if that is working 

 

 

 

maryani
maryaniAuthor
Level 2
September 13, 2023

If I dont have access to system/console, I tried On Diagnosis page , empty file is getting downloaded. Any thoughts on it?

sherinregi-1
Community Advisor
Community Advisor
September 13, 2023

Yeah looks like it is same for me traversing

GET /libs/settings/granite/operations/diagnosis/granite_status.zip HTTP/1.1]

 

 

What can we do here?


@aanchal-sikka  @arunpatidar  @estebanbustamante @mahedi_sabuj 

Any thoughts here . I tried on a vanilla instance the log zip size as 2mb and was able to download the same,

but looks like when the size is more below exception is thrown.

 

 

This being one of the OOTB features what is actually getting queried here and any indexing possibility 

 

aanchal-sikka
Community Advisor
Community Advisor
September 13, 2023

Hello @maryani 

 

For local AEM instance:

- you can access all logs from crx-quickstart/logs folder

 

For AEM server:

 

Sling > Log Support

- Go to http://localhost:4503/system/console/slinglog Or Sling > Log Support

- Click any of the links, here the links will open like http://localhost:4503/system/console/slinglog/tailer.txt?tail=10000&grep=*&name=%2Flogs%2Ferror.log . You can modify:

  • tail value to get recent logs
  • grep value to get lines with specific text

 

 

Status > Log files

This one @sherinregi-1  has already explained

Aanchal Sikka
kautuk_sahni
Community Manager
Community Manager
September 18, 2023

@maryani Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni