Enable logging for elasticsearch plugins

Hi,

I am indexing text documents using the mapper attachments plugin but it is not working well.

My code encode properly the content of the document but when I search a word that is in the docment, it does not match anything.

Is there any way to enable logging for the elasticsearch plugin?

Regards,

Mireia