Got it

Elasticsearch Troubleshooting

Latest reply: Dec 17, 2018 11:46:41 602 2 0 0 0

Log Description

If an application developed based on Elasticsearch APIs is faulty, you only need to pay attention to the logs about abnormal functions on the client. Elasticsearch logs are printed using Log4j. You can view log details by setting the log level in the log4j.properties configuration file to DEBUG. In example code, the default log level in log4j.properties is INFO. You can change the log level value as required. For the current configuration, log4j.rootLogger is set to INFO,console. You can change the log4j.rootLogger value to DEBUG,console.

The log4j.properties file is called only by the sample code. A new file is needed for a formal program.

 


welcome
View more
  • x
  • convention:

i thank you
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.