留言板

Disable infolog elasticsearch LR7

kuong knight,修改在7 年前。

Disable infolog elasticsearch LR7

New Member 帖子: 22 加入日期: 14-5-9 最近的帖子
I see catanila.out have many log of elasticsearch
11:19:04,403 TRACE [elasticsearch[Legacy][search][T#3]][fetch:110] took[203.1ms], took_millis[203], types[LiferayDocumentType], stats[], search_type[QUERY_AND_FETCH], total_shards[1], source[{"from":0,"size":10,"query":{"bool":{"must":{"match_all":{}},"filter":{"bool":{"must":[{"term":{"visible":"true"}},{"terms":{"assetCategoryIds":["32246"]}},{"bool":{"must":[{"bool":{"should":[{"bool":{"must":[{"terms":{"status":["0"]}},{"bool":{"must":[{"bool":{"should":{"term":{"entryClassName":"com.liferay.wiki.model.WikiPage"}}}},{"bool":{"should":[{"term":{"userId":"20205"}},{"terms":{"roleId":["20208"]}}]}}]}}]}},{"bool":{"must":[{"terms":{"status":["0"]}},{"bool":{"must":[{"bool":{"should":{"term":{"entryClassName":"com.liferay.bookmarks.model.BookmarksEntry"}}}},{"bool":{"should":[{"term":{"userId":"20205"}},{"terms":{"roleId":["20208"]}}]}}]}}]}},{"bool":{"must":[{"term":{"head":"true"}},{"terms":{"status":["0"]}},{"bool":{"must":[{"bool":{"should":{"term":{"entryClassName":"com.liferay.journal.model.JournalArticle"}}}},{"bool":{"should":[{"term":{"userId":"20205"}},{"terms":{"roleId":["20208"]}}]}}]}}]}},{"bool":{"must":[{"terms":{"status":["0"]}},{"bool":{"must":[{"bool":{"should":{"term":{"entryClassName":"com.liferay.document.library.kernel.model.DLFileEntry"}}}},{"bool":{"should":[{"term":{"userId":"20205"}},{"terms":{"roleId":["20208"]}}]}}]}}]}},{"bool":{"must":[{"terms":{"status":["0"]}},{"bool":{"must":[{"bool":{"should":{"term":{"entryClassName":"com.liferay.bookmarks.model.BookmarksFolder"}}}},{"bool":{"should":[{"term":{"userId":"20205"}},{"terms":{"roleId":["20208"]}}]}}]}}]}},{"bool":{"must":[{"terms":{"status":["0"]}},{"bool":{"must":[{"bool":{"should":{"term":{"entryClassName":"com.liferay.journal.model.JournalFolder"}}}},{"bool":{"should":[{"term":{"userId":"20205"}},{"terms":{"roleId":["20208"]}}]}}]}}]}},{"bool":{"must":[{"terms":{"status":["0"]}},{"bool":{"must":[{"bool":{"should":{"term":{"entryClassName":"com.liferay.blogs.kernel.model.BlogsEntry"}}}},{"bool":{"should":[{"term":{"userId":"20205"}},{"terms":{"roleId":["20208"]}}]}}]}}]}},{"bool":{"must":[{"term":{"discussion":"false"}},{"terms":{"status":["0"]}},{"bool":{"must":[{"bool":{"should":{"term":{"entryClassName":"com.liferay.message.boards.kernel.model.MBMessage"}}}},{"bool":{"should":[{"term":{"userId":"20205"}},{"terms":{"roleId":["20208"]}}]}}]}}]}},{"bool":{"must":{"bool":{"must":[{"bool":{"should":{"term":{"entryClassName":"com.liferay.calendar.model.CalendarBooking"}}}},

How to disable this
thumbnail
Jorge Díaz,修改在7 年前。

RE: Disable infolog elasticsearch LR7

Liferay Master 帖子: 753 加入日期: 14-1-9 最近的帖子
You are using embedded elasticsearch that should be used only for development or demo purposes.
Install a standalone elasticsearch and configure Liferay to use it, see: https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/installing-liferay-portal#configuring-elastic-search

With a remote elasticsearch, that traces will stop.

Embedded elastic search can be also configured from control panel «elasticsearch» section. There are some fields that allows to configure its internal elasticsearch.yml configuration file
kuong knight,修改在7 年前。

RE: Disable infolog elasticsearch LR7

New Member 帖子: 22 加入日期: 14-5-9 最近的帖子
Thank you emoticon