掲示板

Disable infolog elasticsearch LR7

7年前 に kuong knight によって更新されました。

Disable infolog elasticsearch LR7

New Member 投稿: 22 参加年月日: 14/05/09 最新の投稿
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
7年前 に Jorge Díaz によって更新されました。

RE: Disable infolog elasticsearch LR7

Liferay Master 投稿: 753 参加年月日: 14/01/09 最新の投稿
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
7年前 に kuong knight によって更新されました。

RE: Disable infolog elasticsearch LR7

New Member 投稿: 22 参加年月日: 14/05/09 最新の投稿
Thank you emoticon