How to configure custom log for Connected System?

Hello,

I have followed the instructions described in the documentation and my log is not writing in the correct place, just in the tomcat log and just the error messages, this is my configuration in the log4j file ( <APPIAN_HOME>/deployment/web.war/WEB-INF/resources/appian_log4j.properties):
 

#### custom connector log entry
log4j.logger.com.appian.us=DEBUG,INTEGRATION_LOG

###### INTEGRATION_LOG file appender
log4j.appender.INTEGRATION_LOG=org.apache.log4j.RollingFileAppender
log4j.appender.INTEGRATION_LOG.layout=org.apache.log4j.PatternLayout
log4j.appender.INTEGRATION_LOG.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
log4j.appender.INTEGRATION_LOG.File=${AE_LOGS}/integration.log
log4j.appender.INTEGRATION_LOG.MaxFileSize=10MB
log4j.appender.INTEGRATION_LOG.MaxBackupIndex=1000
log4j.appender.INTEGRATION_LOG.encoding=UTF-8

in my gradle.build:
implementation 'log4j:log4j:1.2.17'

But I always got the warn: No appenders could be found for logger 

Into my project there are no log4j file, just one for testing into test/resources I think the component should take the appian_log4j.properties file right? 

I'm missing some extra configuration? is it possible to set up log4j2? 

  Discussion posts and replies are publicly visible