{"id":47356,"date":"2020-11-19T17:00:59","date_gmt":"2020-11-20T00:00:59","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=47356"},"modified":"2020-11-05T11:31:17","modified_gmt":"2020-11-05T18:31:17","slug":"issue-accessing-application-logs","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/","title":{"rendered":"Issue Accessing Application Logs"},"content":{"rendered":"

Applies to:<\/strong> Ephesoft Transact 2020.1.03 and above<\/span><\/p>\n

<\/a>Issue<\/span><\/h2>\n

If you use custom scripts or other automated processes to retrieve logs through the web server service, you may experience issues due to security enhancements introduced in 2020.1.03.<\/span><\/p>\n

<\/a>Root Cause<\/span><\/h2>\n

In 2020.1.03 and above, you must now log in before accessing log files within the Application <\/strong>folder. This includes files such as the dcma-all.log <\/strong>and log4j.xml<\/strong>.<\/span><\/p>\n

Ephesoft restricted access to these logs as a security enhancement, however, if required by your business process, you can revert this change.<\/span><\/p>\n

<\/a>How to Revert the Changes<\/span><\/h2>\n
    \n
  1. Open the web.xml <\/strong>file, located at [Ephesoft_Directory<\/em>]\\Application\\WEB-INF.<\/span><\/li>\n
  2. Locate the following 12 lines:<\/span><\/li>\n<\/ol>\n
    <<\/span>security-constraint><\/span><\/span>\r\n  <<\/span>web-resource-collection><\/span><\/span>\r\n    <<\/span>web-resource-name><\/span><\/span>Restrict Logging<\/<\/span>web-resource-name><\/span><\/span>\r\n    <<\/span>url-pattern><\/span><\/span>\/logs\/*<\/<\/span>url-pattern><\/span><\/span>\r\n    <<\/span>url-pattern><\/span><\/span>\/log4j.xml<\/<\/span>url-pattern><\/span><\/span>\r\n    <<\/span>http-method><\/span><\/span>GET<\/<\/span>http-method><\/span><\/span>\r\n    <<\/span>http-method><\/span><\/span>POST<\/<\/span>http-method><\/span><\/span>\r\n  <\/<\/span>web-resource-collection><\/span><\/span>\r\n  <<\/span>auth-constraint><\/span><\/span>\r\n    <<\/span>role-name><\/span><\/span>*<\/<\/span>role-name><\/span><\/span>\r\n  <\/<\/span>auth-constraint><\/span><\/span>\r\n<\/<\/span>security-constraint><\/span><\/span><\/code><\/span><\/pre>\n
      \n
    1. Remove the above lines.<\/span><\/li>\n
    2. Save and close the web.xml <\/strong>file.<\/span><\/li>\n
    3. Restart Ephesoft Transact.<\/span><\/li>\n<\/ol>\n

       <\/p>\n","protected":false},"excerpt":{"rendered":"

      Applies to: Ephesoft Transact 2020.1.03 and above Issue If you use custom scripts or other automated processes to retrieve logs […]<\/p>\n","protected":false},"author":62,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12360],"tags":[1430],"yoast_head":"\nIssue Accessing Application Logs | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Issue Accessing Application Logs\" \/>\n<meta property=\"og:description\" content=\"Applies to: Ephesoft Transact 2020.1.03 and above Issue If you use custom scripts or other automated processes to retrieve logs […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-20T00:00:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-05T18:31:17+00:00\" \/>\n<meta name=\"author\" content=\"Breanna Fitzgerald\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Breanna Fitzgerald\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/\",\"name\":\"Issue Accessing Application Logs | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2020-11-20T00:00:59+00:00\",\"dateModified\":\"2020-11-05T18:31:17+00:00\",\"author\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/d74c698404588430489bf05dfdf4bedd\"},\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Issue Accessing Application Logs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/d74c698404588430489bf05dfdf4bedd\",\"name\":\"Breanna Fitzgerald\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e0624b0af4f5f3caa370053f6eef54c8?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e0624b0af4f5f3caa370053f6eef54c8?s=96&r=g\",\"caption\":\"Breanna Fitzgerald\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Issue Accessing Application Logs | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"Issue Accessing Application Logs","og_description":"Applies to: Ephesoft Transact 2020.1.03 and above Issue If you use custom scripts or other automated processes to retrieve logs […]","og_url":"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/","og_site_name":"Ephesoft Docs","article_published_time":"2020-11-20T00:00:59+00:00","article_modified_time":"2020-11-05T18:31:17+00:00","author":"Breanna Fitzgerald","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Breanna Fitzgerald","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/","url":"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/","name":"Issue Accessing Application Logs | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2020-11-20T00:00:59+00:00","dateModified":"2020-11-05T18:31:17+00:00","author":{"@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/d74c698404588430489bf05dfdf4bedd"},"breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/issue-accessing-application-logs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Issue Accessing Application Logs"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/d74c698404588430489bf05dfdf4bedd","name":"Breanna Fitzgerald","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e0624b0af4f5f3caa370053f6eef54c8?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e0624b0af4f5f3caa370053f6eef54c8?s=96&r=g","caption":"Breanna Fitzgerald"}}]}},"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/47356"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/users\/62"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=47356"}],"version-history":[{"count":0,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/47356\/revisions"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=47356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/categories?post=47356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/tags?post=47356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}