In certain troubleshooting scenarios, it may be necessary to enable DEBUG logging to retrieve additional information related to the issue observed. This article details how to enable DEBUG logging for some of the most commonly seen issues in Appian. The DEBUG statements will be logged to the application server log, unless configured otherwise.
DEBUG
Warning: Enabling the DEBUG logs in an environment can lead to large log files and introduce potential performance degradation. Appian Technical Support advises to enable loggers on lower environments before doing so on production.
The steps to enable DEBUG logging are as follows:
<APPIAN_HOME>/deployment/web.war/WEB-INF/resources
<APPIAN_HOME>/ear/suite.ear/resources
The steps to disable DEBUG logging are as follows:
ERROR
TRACE
When adding any of these loggers, check if they already exist in appian_log4j.properties, if they do, edit the existing line, otherwise add the lines to the appian_log4j.properties.
Appian Authentication, SAML, LDAP:
log4j.logger.com.appiancorp.security=DEBUGlog4j.logger.org.springframework.security=DEBUGlog4j.logger.org.opensaml.core.xml.util=TRACE
OpenID Connect User Authentication:
log4j.logger.com.appiancorp.security.auth.oidc=DEBUG
OAuth 2.0 Token Request Sequence:
log4j.logger.com.appiancorp.connectedsystems.http.oauth.HttpOAuthTokenRetriever=DEBUGlog4j.logger.com.appiancorp.connectedsystems.contracts.HttpOAuthTokenService=DEBUGlog4j.logger.com.appiancorp.connectedsystems.http.execution.strategies=DEBUGlog4j.logger.com.appiancorp.connectedsystems.http.oauth=DEBUGlog4j.logger.com.appiancorp.oauth.inbound=DEBUG
Application Import/Export:
log4j.logger.com.appiancorp.ix=DEBUG
Appian Health Check:
Note: Only applicable when using the Health Check Plugin. These loggers do not apply when Health Check is configured through the Admin Console.
log4j.logger.com.appiancorp.plugins.labs.BulkLogDownloadServlet=DEBUGlog4j.logger.com.appiancorp.tools.labs.analysis.util.LabsFileFilter=DEBUGlog4j.logger.com.appiancorp.healthcheck=DEBUG, HEALTH_CHECK
log4j.logger.com.appiancorp.plugins.labs.BulkLogDownloadServlet=DEBUGlog4j.logger.com.appiancorp.tools.labs.analysis.util.LabsFileFilter=DEBUG
CDT Import/Export:
log4j.logger.com.appiancorp.type.external.teneoimpl.TeneoAnnotationsValidator=DEBUGlog4j.logger.com.appiancorp.type.external.teneoimpl.AppianHbSessionDataStore=DEBUG
Starting Processes by E-mail (email polling):
log4j.logger.com.appiancorp.messaging.MessagePublisherServiceImpl=DEBUG log4j.logger.com.appiancorp.process.execution.service.ProcessExecutionServiceFacade=DEBUG log4j.logger.com.appiancorp.mdb=DEBUG
Process Models Exposed as Web Services:
log4j.logger.com.appiancorp.process.webservices.pmserver=DEBUG
Process to Process Messaging:
log4j.logger.com.appiancorp.messaging.MessagePublisherServiceImpl=DEBUG log4j.logger.com.appiancorp.process.execution.service.ProcessExecutionServiceFacade=DEBUG
Query Timeouts:
log4j.logger.org.hibernate.util.JDBCExceptionReporter=DEBUG
Query RDBMS Execution and Validation:
log4j.logger.com.appiancorp.process.runtime.activities.QueryRdbmsActivity=DEBUGlog4j.logger.com.appiancorp.process.runtime.activities.JdbcActivity=DEBUG
Capture SQL Statements:
log4j.logger.org.hibernate.SQL=DEBUGlog4j.logger.org.hibernate.type=TRACE
SAIL (unmask pink pop-up errors):
log4j.logger.com.appiancorp.rest.shared.AppianExceptionMapper=DEBUGlog4j.logger.com.appiancorp.core.expr.tree.Variable=DEBUGlog4j.logger.com.appiancorp.core.expr.Parse=DEBUG
Sending Emails with Send Email Smart Service:
log4j.logger.com.appiancorp.process.runtime.activities.SendEmailActivity=DEBUGlog4j.logger.com.appiancorp.ap2.mail=DEBUG
Call Web Service Smart Service:
log4j.logger.com.appiancorp.ws=DEBUGlog4j.logger.org.apache.axis2=DEBUGlog4j.logger.httpclient.wire.header=TRACElog4j.logger.org.apache.commons.httpclient=TRACE
Importing Web Service CDTs:
log4j.logger.com.appiancorp.type.config.xsd.SchemaFactory=DEBUG
Background activity in Appian Engines:
log4j.logger.com.appiancorp.process.background.EngineWorkSpringContextListener=DEBUGlog4j.logger.com.appiancorp.process.background.EngineWorkControllerFactory=DEBUGlog4j.logger.com.appiancorp.process.background.EngineWorkControllerRunnable=DEBUGlog4j.logger.com.appiancorp.process.background.EngineWorkController=DEBUG
log4j.logger.com.appiancorp.process.background.EngineWorkSpringContextListener=DEBUGlog4j.logger.com.appiancorp.process.background.EngineWorkControllerFactory=DEBUGlog4j.logger.com.appiancorp.process.background.EngineWorkControllerRunnable=DEBUG
log4j.logger.com.appiancorp.process.background.EngineWorkController=DEBUG
Details on CDT Transformation:
log4j.logger.com.appiancorp.type.xmlconversion=DEBUG log4j.logger.com.appiancorp.suiteapi.common.TypeConverter=DEBUG log4j.logger.com.appiancorp.core.data.converter=DEBUG
High Transformation Time When Processing the Results Received from the RDBMS:
log4j.logger.com.appian.perflogs.ecore-tv-conversion-trace=INFO, ECORE_TV_CONVERSION_PERF_TRACElog4j.additivity.com.appian.perflogs.ecore-tv-conversion-trace=falselog4j.appender.ECORE_TV_CONVERSION_PERF_TRACE=com.appiancorp.common.logging.AppianFileAppenderlog4j.appender.ECORE_TV_CONVERSION_PERF_TRACE.layout=com.appiancorp.type.data.ecore.EcoreToTvConversionPerfLogger$TraceLayoutlog4j.appender.ECORE_TV_CONVERSION_PERF_TRACE.File=${AE_LOGS}/perflogs/perf_ecore_tv_conversion_trace.csvlog4j.appender.ECORE_TV_CONVERSION_PERF_TRACE.MaxFileSize=10MBlog4j.appender.ECORE_TV_CONVERSION_PERF_TRACE.MaxBackupIndex=1000log4j.appender.ECORE_TV_CONVERSION_PERF_TRACE.encoding=UTF-8
Workpoller Issues:
log4j.logger.com.appiancorp.ra.workpoller=DEBUG, WORK_POLLER
Plugin Deployment:
log4j.logger.com.appiancorp.process.admin=DEBUG
XSD Validation:
Note: This is used when record type validation fails or when deploying a plugin which constructs a CDT.
log4j.logger.com.appiancorp.type.config.xsd=DEBUG
HTTP Connected Systems Request Execution:
Note: This is to check the request contents, how it was received, if response was received or timed out, etc.
log4j.logger.com.appiancorp.connectedsystems.http=DEBUGlog4j.logger.com.appiancorp.connectedsystems.http.execution.AppianHttpRequestExecutor=DEBUG
Connected Environments DevOps:
log4j.logger.com.appiancorp.connectedenvironments.logging.DevOpsInfrastructureHandlerAuditLogger=DEBUG log4j.logger.com.appiancorp.designobjectdiffs.functions.application.DodConnEnvCallSystemRuleHandler=DEBUG
Compare & Deploy (Inspection phase): Compare
log4j.logger.com.appiancorp.designdeployments.handler.DplConnEnvAsyncInspectHandler=DEBUGlog4j.logger.com.appiancorp.designdeployments.handler.DplConnEnvInspectHandler=DEBUG
Salesforce connected Systems (returns error stacktrace returned by Salesforce):
log4j.logger.com.appiancorp.connectedsystems.salesforce=DEBUG
Webserver (returns data transferred to and from the servers when executing HTTP requests):
**these loggers are verbose, switch loggers to ERROR first before removing them from appian_log4j.properties file
log4j.logger.org.apache.http=DEBUGlog4j.logger.org.apache.http.wire=DEBUG
This article applies to all versions of Appian.
Last Reviewed: April 2024