Views
Replies
Total Likes
Adobe’s general guidance on log levels per AEM as a Cloud Service environment are:
Local Development (AEM SDK):DEBUG
Development:DEBUG
Stage:WARN
Production:ERROR
Are you setting the right log level as per the environment type ?
What do you mean with "marker in logs"?
Did you set correct log level as per environment runmode?
AEM Environment-Log Level
Development -DEBUG
Stage- WARN
Production- ERROR
Use
import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class MyClass { private static final Logger log = LoggerFactory.getLogger(MyClass.class); public void myMethod(String name) { log.debug("You invoked my method: {}", name); } }
Please check https://sling.apache.org/documentation/development/logging.html#logger-configuration-1
Views
Like
Replies
Views
Likes
Replies