{"action":"opened","issue":{"url":"https://api.github.com/repos/dotCMS/core/issues/8436","labels_url":"https://api.github.com/repos/dotCMS/core/issues/8436/labels{/name}","comments_url":"https://api.github.com/repos/dotCMS/core/issues/8436/comments","events_url":"https://api.github.com/repos/dotCMS/core/issues/8436/events","html_url":"https://github.com/dotCMS/core/issues/8436","id":122099737,"number":8436,"title":"[core] java.lang.ClassNotFoundException is thrown when adding DEBUG level in log4j for ElasticSearch classes","user":{"login":"jcastro-dotcms","id":8779585,"avatar_url":"https://avatars.githubusercontent.com/u/8779585?v=3","gravatar_id":"","url":"https://api.github.com/users/jcastro-dotcms","html_url":"https://github.com/jcastro-dotcms","followers_url":"https://api.github.com/users/jcastro-dotcms/followers","following_url":"https://api.github.com/users/jcastro-dotcms/following{/other_user}","gists_url":"https://api.github.com/users/jcastro-dotcms/gists{/gist_id}","starred_url":"https://api.github.com/users/jcastro-dotcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcastro-dotcms/subscriptions","organizations_url":"https://api.github.com/users/jcastro-dotcms/orgs","repos_url":"https://api.github.com/users/jcastro-dotcms/repos","events_url":"https://api.github.com/users/jcastro-dotcms/events{/privacy}","received_events_url":"https://api.github.com/users/jcastro-dotcms/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-14T18:18:39Z","updated_at":"2015-12-14T18:18:39Z","closed_at":null,"body":"Information | Value\r\n------------ | -------------\r\nVersions | 3.2, 3.2.1, 3.2.4, 3.3, 3.5\r\nOrigin | Distro and source code\r\nOS | Any\r\nDB | Any\r\n\r\nWhen setting the debugging level in the \"log4j.xml\" or \"log4j2.xml\" for the Elastic classes to \"DEBUG\", an exception is thrown in the logs during the startup process. However, **this exception DOES NOT seem to have any effect in dotCMS**. It only shows up when setting the debugging level of the Elastic classes to \"DEBUG\".\r\n\r\nThis exception was found when working with and testing the configuration of dotCMS to work with an external Elastic server instead of the embedded version. As previously mentioned, the elastic-related features in dotCMS are working correctly, using both the embedded ES and the external ES server.\r\n\r\n**Root Cause:** The code in the Elastic library tries to load the class \"org.apache.lucene.expressions.Expression\", which does not exist in any of the dotCMS .JAR files. It belongs to a .JAR called \"lucene-expressions-4.10.2.jar\""}}