Closed nobhashim closed 8 months ago
Another document that recommends ERROR for Production. https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/developing/development-guidelines.html?lang=en
@nobhashim you can of course set the log levels as you require - these are simply base recommendations for how log levels are intended to be used. If you have a valid business need to need to log all normal operations in a production, you can do this!
The rationale behind this is:
But again, please feel free to adjust logging as you need -- and remember you can also adjust log levels by Java package incase you need some set of functionality to be logged at a higher/lower level.
Issue in ./help/cloud-service/debugging/cloud-service/logs.md
I have a different idea of the recommended log levels below.
Local Development (AEM SDK): DEBUG Development: DEBUG Stage: WARN Production: ERROR
Setting the log level to INFO for Stage and Production is more preferable. It is too hard to identify the cause of an incident with ERROR/WARN messages. Especially when the issue occurred once only on Production. I would appreciate if you reconsider the recommendation.