we need to do configuration for all envinorments
AEM Environment | Log Level
->Developement | Debug
--> Stage ----- | WARN
--> PROD ----- | Error
Solved! Go to Solution.
Views
Replies
Total Likes
You can create logger configuration in ui.config folder based on run modes. Environment variable can be used while defining the value of log level and it can be changed at runtime.
{
"org.apache.sling.commons.log.names": [
"com.adobe.aem.guides.wknd"
],
"org.apache.sling.commons.log.level":
}
You can create logger configuration in ui.config folder based on run modes. Environment variable can be used while defining the value of log level and it can be changed at runtime.
{
"org.apache.sling.commons.log.names": [
"com.adobe.aem.guides.wknd"
],
"org.apache.sling.commons.log.level":
}
Yes you can use single file under config folder for all runmodes and then set the desired log level value using environment variable
Can I write like this inside config file as below to run all environments
{
"org.apache.sling.commons.log.names": [
"com.adobe.aem.guides.wknd"
],
Yes you can add the configuration as below in single config file and then you can set the environment variable in Cloud manager for each environment
{
"org.apache.sling.commons.log.names": [
"com.adobe.aem.guides.wknd"
],
"org.apache.sling.commons.log.level":
}
Views
Likes
Replies