How to enable debug logs in production in Adobe Managed Service? | Adobe Higher Education
Skip to main content
Mario248
Level 7
March 1, 2023
Beantwoord

How to enable debug logs in production in Adobe Managed Service?

  • March 1, 2023
  • 3 reacties
  • 1151 Bekeken

I have some debug logs in AEM (AMS). I created new debug log files for my package in lower environments (dev and stage) to see all debug logs. In lower environments, there are no issues, but in production, Felix Console is disabled, and we cannot create any debug log files.

 

What is the process for enabling debug logs in the production environment? Can debug logs be seen in production?

Er kunnen geen reacties meer worden geplaatst op dit onderwerp.
Beste antwoord door aanchal-sikka

Hello @mario248 

 

The loggers can be created via OSGi configurations. Ideally, we should not have DEBUG logs enabled on production. If needed, these should be enabled only for a short period and then moved back to WARN again.

 

AMS team should be able to created jailed-users for production to view logs.

3 reacties

TarunKumar
Community Advisor
Community Advisor
March 1, 2023

Hi @mario248 ,
Generally for AEM prod hosted on AMS, you will have to check with AMS team where they should be able to share the debug log with you. AMS team allow certain user to access the logs.

aanchal-sikka
Community Advisor
Community Advisor
March 1, 2023

Hello @mario248 

 

The loggers can be created via OSGi configurations. Ideally, we should not have DEBUG logs enabled on production. If needed, these should be enabled only for a short period and then moved back to WARN again.

 

AMS team should be able to created jailed-users for production to view logs.

Aanchal Sikka
Rohit_Utreja
Community Advisor
Community Advisor
March 1, 2023

@mario248 

 

OSGI configs need to be pushed to prod via code deployment to enable these logs in production, since felix console can't be accessed for prod instance.

Please refer below URL to configure OSGI configs.

https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/configure-logging.html?lang=en