{"action":"created","comment":{"url":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/comments/226777958","pull_request_review_id":166691098,"id":226777958,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjc3Nzk1OA==","diff_hunk":"@@ -0,0 +1,124 @@\n+# Elasticsearch Logging\n+\n+When you first start @product@, an embedded Elasticsearch server starts so that\n+search works out of the box. The embedded search engine is not suitable for\n+production, but is useful for testing and development.\n+\n+The @product@ log was slimmed down by removing INFO level Elasticsearch logs for\n+the embedded Elasticsearch. WARN and ERROR logs are still displayed. If you\n+miss hearing from Elasticsearch during portal startup, this article shows you\n+how to enable the INFO log level for the embedded Elasticsearch server.\n+\n++$$$\n+\n+**Note:** These instructions show you how to adjust the embedded Elasticsearch\n+server's logs. Logging for @product@'s search functionality is configurable via\n+the \n+[Log Levels](/discover/portal/-/knowledge_base/7-1/server-administration) \n+screen at Control Panel &rarr; Configuration &rarr; Server Administration &rarr;\n+Log Levels tool. Narrow down the list to include only the search classes and\n+packages by searching for _com.liferay.portal.search_.\n+\n+To adjust logging for a remote Elasticsearch server, see \n+[Elastic's documentation](https://www.elastic.co/guide/en/elasticsearch/reference/6.1/logging.html).\n+\n+$$$\n+\n+Here's an example log message that _is_ displayed by default:\n+\n+    2018-09-13 16:49:24.442 WARN  [Elasticsearch initialization thread][EmbeddedElasticsearchConnection:315]\n+\n+Manage the log levels for the `EmbeddedElasticsearchConnection` in Server\n+Administration.\n+\n+Here's an example log message that _isn't_ displayed by default:\n+\n+    [2018-09-05T17:25:30,107][WARN ][o.e.d.i.m.MapperService  ] [unmapped_type:string] should be replaced with [unmapped_type:keyword]\n+\n+To adjust logging for the `o.e.d.i.m.MapperService` and other Elasticsearch classes, \n+\n+1.  Create a `/config` folder in `Liferay Home/data/elasticsearch6/`.\n+\n+2.  Create a `log4j2.properties` file in the new folder.\n+\n+3.  To enable INFO level logging, populate the `log4j2.properties` file with\n+    these contents: \n+\n+        appender.console.layout.pattern=[%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n\n+        appender.console.layout.type=PatternLayout\n+        appender.console.name=console\n+        appender.console.type=Console\n+        logger.action.level=info\n+        logger.action.name=org.elasticsearch.action\n+        rootLogger.appenderRef.console.ref=console\n+        rootLogger.level=info\n+        status=error\n+\n+    Read the Elasticsearch \n+    [logging documentation](https://www.elastic.co/guide/en/elasticsearch/reference/6.x/logging.html) \n+    for more information.\n+\n+4.  Restart the @product@ server, or just the embedded Elasticsearch.\n+\n+5.  To restart just the embedded Elasticsearch server, create a file called\n+\n+        com.liferay.portal.bundle.blacklist.internal.BundleBlacklistConfiguration.config \n+\n+    in `Liferay Home/osgi/configs` directory and populate it with\n+\n+        blacklistBundleSymbolicNames=\"com.liferay.portal.search.elasticsearch6.impl\"\n+\n+6.  Save the `.config` file and the bundle is stopped. Once you see the\n+    `[STOPPED]` message in the logs, restart the bundle by commenting the line\n+    out and re-saving the file:\n+\n+        #blacklistBundleSymbolicNames=\"com.liferay.portal.search.elasticsearch6.impl\"\n+\n+Once this is accomplished, the embedded Elasticsearch server is properly set up","path":"discover/deployment/articles/01-installing-search-engine/01-configuring-elasticsearch/03-logging.markdown","position":77,"original_position":77,"commit_id":"3a614a60a2a7f5ebff00c9b06552903facd45432","original_commit_id":"3a614a60a2a7f5ebff00c9b06552903facd45432","user":{"login":"BryanEngler","id":2111174,"node_id":"MDQ6VXNlcjIxMTExNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2111174?v=4","gravatar_id":"","url":"https://api.github.com/users/BryanEngler","html_url":"https://github.com/BryanEngler","followers_url":"https://api.github.com/users/BryanEngler/followers","following_url":"https://api.github.com/users/BryanEngler/following{/other_user}","gists_url":"https://api.github.com/users/BryanEngler/gists{/gist_id}","starred_url":"https://api.github.com/users/BryanEngler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BryanEngler/subscriptions","organizations_url":"https://api.github.com/users/BryanEngler/orgs","repos_url":"https://api.github.com/users/BryanEngler/repos","events_url":"https://api.github.com/users/BryanEngler/events{/privacy}","received_events_url":"https://api.github.com/users/BryanEngler/received_events","type":"User","site_admin":false},"body":"i think he was referring to Server Administration > Log Levels\r\nfor example, if you were to change \"com.liferay\" from ERROR to DEBUG, save, restart portal, and go back to Log Levels, \"com.liferay\" would be set back to ERROR ","created_at":"2018-10-19T20:49:41Z","updated_at":"2018-10-19T20:49:41Z","html_url":"https://github.com/BryanEngler/liferay-docs/pull/1#discussion_r226777958","pull_request_url":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/comments/226777958"},"html":{"href":"https://github.com/BryanEngler/liferay-docs/pull/1#discussion_r226777958"},"pull_request":{"href":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/1"}},"in_reply_to_id":223483512},"pull_request":{"url":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/1","id":218378178,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4Mzc4MTc4","html_url":"https://github.com/BryanEngler/liferay-docs/pull/1","diff_url":"https://github.com/BryanEngler/liferay-docs/pull/1.diff","patch_url":"https://github.com/BryanEngler/liferay-docs/pull/1.patch","issue_url":"https://api.github.com/repos/BryanEngler/liferay-docs/issues/1","number":1,"state":"open","locked":false,"title":"LPS-85180, draft on configuring logging in the embedded ES server","user":{"login":"rbohl","id":1728666,"node_id":"MDQ6VXNlcjE3Mjg2NjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1728666?v=4","gravatar_id":"","url":"https://api.github.com/users/rbohl","html_url":"https://github.com/rbohl","followers_url":"https://api.github.com/users/rbohl/followers","following_url":"https://api.github.com/users/rbohl/following{/other_user}","gists_url":"https://api.github.com/users/rbohl/gists{/gist_id}","starred_url":"https://api.github.com/users/rbohl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbohl/subscriptions","organizations_url":"https://api.github.com/users/rbohl/orgs","repos_url":"https://api.github.com/users/rbohl/repos","events_url":"https://api.github.com/users/rbohl/events{/privacy}","received_events_url":"https://api.github.com/users/rbohl/received_events","type":"User","site_admin":false},"body":"https://issues.liferay.com/browse/LPS-85180, can you take a look at this and let me know if this is the info. customers need on the embedded ES logging changes? cc @lipusz","created_at":"2018-09-26T16:22:15Z","updated_at":"2018-10-19T20:49:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b6fbb64aa7913af956f8b147f8d1098f7e2b0ef","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/1/commits","review_comments_url":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/1/comments","review_comment_url":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BryanEngler/liferay-docs/issues/1/comments","statuses_url":"https://api.github.com/repos/BryanEngler/liferay-docs/statuses/3a614a60a2a7f5ebff00c9b06552903facd45432","head":{"label":"rbohl:LPS-85180-elasticsearch-logging","ref":"LPS-85180-elasticsearch-logging","sha":"3a614a60a2a7f5ebff00c9b06552903facd45432","user":{"login":"rbohl","id":1728666,"node_id":"MDQ6VXNlcjE3Mjg2NjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1728666?v=4","gravatar_id":"","url":"https://api.github.com/users/rbohl","html_url":"https://github.com/rbohl","followers_url":"https://api.github.com/users/rbohl/followers","following_url":"https://api.github.com/users/rbohl/following{/other_user}","gists_url":"https://api.github.com/users/rbohl/gists{/gist_id}","starred_url":"https://api.github.com/users/rbohl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbohl/subscriptions","organizations_url":"https://api.github.com/users/rbohl/orgs","repos_url":"https://api.github.com/users/rbohl/repos","events_url":"https://api.github.com/users/rbohl/events{/privacy}","received_events_url":"https://api.github.com/users/rbohl/received_events","type":"User","site_admin":false},"repo":{"id":7737083,"node_id":"MDEwOlJlcG9zaXRvcnk3NzM3MDgz","name":"liferay-docs","full_name":"rbohl/liferay-docs","private":false,"owner":{"login":"rbohl","id":1728666,"node_id":"MDQ6VXNlcjE3Mjg2NjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1728666?v=4","gravatar_id":"","url":"https://api.github.com/users/rbohl","html_url":"https://github.com/rbohl","followers_url":"https://api.github.com/users/rbohl/followers","following_url":"https://api.github.com/users/rbohl/following{/other_user}","gists_url":"https://api.github.com/users/rbohl/gists{/gist_id}","starred_url":"https://api.github.com/users/rbohl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbohl/subscriptions","organizations_url":"https://api.github.com/users/rbohl/orgs","repos_url":"https://api.github.com/users/rbohl/repos","events_url":"https://api.github.com/users/rbohl/events{/privacy}","received_events_url":"https://api.github.com/users/rbohl/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rbohl/liferay-docs","description":null,"fork":true,"url":"https://api.github.com/repos/rbohl/liferay-docs","forks_url":"https://api.github.com/repos/rbohl/liferay-docs/forks","keys_url":"https://api.github.com/repos/rbohl/liferay-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rbohl/liferay-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rbohl/liferay-docs/teams","hooks_url":"https://api.github.com/repos/rbohl/liferay-docs/hooks","issue_events_url":"https://api.github.com/repos/rbohl/liferay-docs/issues/events{/number}","events_url":"https://api.github.com/repos/rbohl/liferay-docs/events","assignees_url":"https://api.github.com/repos/rbohl/liferay-docs/assignees{/user}","branches_url":"https://api.github.com/repos/rbohl/liferay-docs/branches{/branch}","tags_url":"https://api.github.com/repos/rbohl/liferay-docs/tags","blobs_url":"https://api.github.com/repos/rbohl/liferay-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rbohl/liferay-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rbohl/liferay-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/rbohl/liferay-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rbohl/liferay-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/rbohl/liferay-docs/languages","stargazers_url":"https://api.github.com/repos/rbohl/liferay-docs/stargazers","contributors_url":"https://api.github.com/repos/rbohl/liferay-docs/contributors","subscribers_url":"https://api.github.com/repos/rbohl/liferay-docs/subscribers","subscription_url":"https://api.github.com/repos/rbohl/liferay-docs/subscription","commits_url":"https://api.github.com/repos/rbohl/liferay-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/rbohl/liferay-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/rbohl/liferay-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/rbohl/liferay-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/rbohl/liferay-docs/contents/{+path}","compare_url":"https://api.github.com/repos/rbohl/liferay-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rbohl/liferay-docs/merges","archive_url":"https://api.github.com/repos/rbohl/liferay-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rbohl/liferay-docs/downloads","issues_url":"https://api.github.com/repos/rbohl/liferay-docs/issues{/number}","pulls_url":"https://api.github.com/repos/rbohl/liferay-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/rbohl/liferay-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/rbohl/liferay-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rbohl/liferay-docs/labels{/name}","releases_url":"https://api.github.com/repos/rbohl/liferay-docs/releases{/id}","deployments_url":"https://api.github.com/repos/rbohl/liferay-docs/deployments","created_at":"2013-01-21T17:42:24Z","updated_at":"2018-10-16T22:34:58Z","pushed_at":"2018-10-19T19:10:46Z","git_url":"git://github.com/rbohl/liferay-docs.git","ssh_url":"git@github.com:rbohl/liferay-docs.git","clone_url":"https://github.com/rbohl/liferay-docs.git","svn_url":"https://github.com/rbohl/liferay-docs","homepage":"","size":771418,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"BryanEngler:master","ref":"master","sha":"4e227c28526f65385592e212a9862e00683e1359","user":{"login":"BryanEngler","id":2111174,"node_id":"MDQ6VXNlcjIxMTExNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2111174?v=4","gravatar_id":"","url":"https://api.github.com/users/BryanEngler","html_url":"https://github.com/BryanEngler","followers_url":"https://api.github.com/users/BryanEngler/followers","following_url":"https://api.github.com/users/BryanEngler/following{/other_user}","gists_url":"https://api.github.com/users/BryanEngler/gists{/gist_id}","starred_url":"https://api.github.com/users/BryanEngler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BryanEngler/subscriptions","organizations_url":"https://api.github.com/users/BryanEngler/orgs","repos_url":"https://api.github.com/users/BryanEngler/repos","events_url":"https://api.github.com/users/BryanEngler/events{/privacy}","received_events_url":"https://api.github.com/users/BryanEngler/received_events","type":"User","site_admin":false},"repo":{"id":145135859,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUxMzU4NTk=","name":"liferay-docs","full_name":"BryanEngler/liferay-docs","private":false,"owner":{"login":"BryanEngler","id":2111174,"node_id":"MDQ6VXNlcjIxMTExNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2111174?v=4","gravatar_id":"","url":"https://api.github.com/users/BryanEngler","html_url":"https://github.com/BryanEngler","followers_url":"https://api.github.com/users/BryanEngler/followers","following_url":"https://api.github.com/users/BryanEngler/following{/other_user}","gists_url":"https://api.github.com/users/BryanEngler/gists{/gist_id}","starred_url":"https://api.github.com/users/BryanEngler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BryanEngler/subscriptions","organizations_url":"https://api.github.com/users/BryanEngler/orgs","repos_url":"https://api.github.com/users/BryanEngler/repos","events_url":"https://api.github.com/users/BryanEngler/events{/privacy}","received_events_url":"https://api.github.com/users/BryanEngler/received_events","type":"User","site_admin":false},"html_url":"https://github.com/BryanEngler/liferay-docs","description":null,"fork":true,"url":"https://api.github.com/repos/BryanEngler/liferay-docs","forks_url":"https://api.github.com/repos/BryanEngler/liferay-docs/forks","keys_url":"https://api.github.com/repos/BryanEngler/liferay-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BryanEngler/liferay-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BryanEngler/liferay-docs/teams","hooks_url":"https://api.github.com/repos/BryanEngler/liferay-docs/hooks","issue_events_url":"https://api.github.com/repos/BryanEngler/liferay-docs/issues/events{/number}","events_url":"https://api.github.com/repos/BryanEngler/liferay-docs/events","assignees_url":"https://api.github.com/repos/BryanEngler/liferay-docs/assignees{/user}","branches_url":"https://api.github.com/repos/BryanEngler/liferay-docs/branches{/branch}","tags_url":"https://api.github.com/repos/BryanEngler/liferay-docs/tags","blobs_url":"https://api.github.com/repos/BryanEngler/liferay-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BryanEngler/liferay-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BryanEngler/liferay-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/BryanEngler/liferay-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BryanEngler/liferay-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/BryanEngler/liferay-docs/languages","stargazers_url":"https://api.github.com/repos/BryanEngler/liferay-docs/stargazers","contributors_url":"https://api.github.com/repos/BryanEngler/liferay-docs/contributors","subscribers_url":"https://api.github.com/repos/BryanEngler/liferay-docs/subscribers","subscription_url":"https://api.github.com/repos/BryanEngler/liferay-docs/subscription","commits_url":"https://api.github.com/repos/BryanEngler/liferay-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/BryanEngler/liferay-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/BryanEngler/liferay-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/BryanEngler/liferay-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/BryanEngler/liferay-docs/contents/{+path}","compare_url":"https://api.github.com/repos/BryanEngler/liferay-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BryanEngler/liferay-docs/merges","archive_url":"https://api.github.com/repos/BryanEngler/liferay-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BryanEngler/liferay-docs/downloads","issues_url":"https://api.github.com/repos/BryanEngler/liferay-docs/issues{/number}","pulls_url":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/BryanEngler/liferay-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/BryanEngler/liferay-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BryanEngler/liferay-docs/labels{/name}","releases_url":"https://api.github.com/repos/BryanEngler/liferay-docs/releases{/id}","deployments_url":"https://api.github.com/repos/BryanEngler/liferay-docs/deployments","created_at":"2018-08-17T15:16:00Z","updated_at":"2018-10-16T22:25:05Z","pushed_at":"2018-10-16T22:25:04Z","git_url":"git://github.com/BryanEngler/liferay-docs.git","ssh_url":"git@github.com:BryanEngler/liferay-docs.git","clone_url":"https://github.com/BryanEngler/liferay-docs.git","svn_url":"https://github.com/BryanEngler/liferay-docs","homepage":"","size":770760,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/1"},"html":{"href":"https://github.com/BryanEngler/liferay-docs/pull/1"},"issue":{"href":"https://api.github.com/repos/BryanEngler/liferay-docs/issues/1"},"comments":{"href":"https://api.github.com/repos/BryanEngler/liferay-docs/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BryanEngler/liferay-docs/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/BryanEngler/liferay-docs/statuses/3a614a60a2a7f5ebff00c9b06552903facd45432"}},"author_association":"NONE"}}
{"actor":{"display_login":"BryanEngler"}}