We are trying to upgrade from 5.0 to 2017-04 edition.
Among other errors we get the above debug message:
2017-07-18 16:25:01,062 DEBUG [scripts.servlet.X509ServletFilterBase] [http-bio-127.0.0.1-8443-exec-5] Enforcing X509 request
2017-07-18 16:25:01,063 DEBUG [scripts.servlet.X509ServletFilterBase] [http-bio-127.0.0.1-8443-exec-5] Checking cert is valid
2017-07-18 16:25:01,063 DEBUG [scripts.servlet.X509ServletFilterBase] [http-bio-127.0.0.1-8443-exec-5] Cert is valid
It is unstopably repeated, filling our logs. Any ideas why this happens?
Thanks in advance.
Solved! Go to Solution.
You should configure the log level via custom-log4j.properties to a higher level for the X509ServletFilterBase class. Apparently it is set to DEBUG and that is why you are seeing many messages. Generally, you should never have DEBUG enabled on an acceptance / production environment (except for specific short issue debug phases when the issue cannot be reproduced elsewhere). DEBUG is supposed to be used for development / test environments.
You should configure the log level via custom-log4j.properties to a higher level for the X509ServletFilterBase class. Apparently it is set to DEBUG and that is why you are seeing many messages. Generally, you should never have DEBUG enabled on an acceptance / production environment (except for specific short issue debug phases when the issue cannot be reproduced elsewhere). DEBUG is supposed to be used for development / test environments.
we added to tomcat/shared/classes/alfresco/extension/custom-log4j.properties
log4j.logger.org.alfresco.web.scripts.servlet=warn
thank you
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.