07-15-2018 09:06 AM
I tried to change the log level of the activiti-app by changing the log4j.properties file, but still it prints debug and all the logs of all packages..any advice?
log4j.rootLogger=FATAL, stdout
# Console Appender
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern= %d{hh:mm:ss,SSS} [%t] %-5p %c %x - %m%n
# Custom tweaks
log4j.logger.com.codahale.metrics=Fatal
log4j.logger.com.ryantenney=Fatal
log4j.logger.com.zaxxer=Fatal
log4j.logger.org.apache=Fatal
log4j.logger.org.hibernate=Fatal
log4j.logger.org.hibernate.engine.internal=Fatal
log4j.logger.org.hibernate.validator=Fatal
log4j.logger.org.springframework=Fatal
log4j.logger.org.springframework.web=Fatal
log4j.logger.org.springframework.security=Fatal
07-18-2018 09:30 AM
I guess you mean Activiti/log4j.properties at 6.x · Activiti/Activiti · GitHub Did you change it in the WEB-INF/classes and restart tomcat? (See Configuring Alfresco Process Services | Alfresco Documentation and https://www.activiti.org/userguide/#loggingConfiguration)
07-29-2018 05:59 AM
Yes i am referring to the Activiti/log4j.properties at 6.x · Activiti/Activiti · GitHub.
Yes i changed the file in WEB-INF/classes and restarted tomcat, and it does not work.
I created activiti-app.properties file in resource which is [WEB-INF/classes] and added
logging.level.org.springframework.web=FATALlogging.level.org.hibernate=FATAL
still no change.
Am i missing something here? please advice
07-30-2018 04:09 AM
Ah you shouldn't have to create an activiti-app.properties. It should already be in `activiti-app.propertiesin the WEB-INF/classes/META-INF/activiti-app`.
Explore our Alfresco products with the links below. Use labels to filter content by product module.