Log elasticsearch queries

605 views
Skip to first unread message

aash dhariya

unread,
Dec 25, 2012, 2:52:03 AM12/25/12
to elasti...@googlegroups.com
I am using elastictastic in my rails application. Does anybody know whether there is any way to log elasticsearch queries that are made through elastictastic? Previously when I was using tire, I could pass my logger file name path in tire configuration settings. Is there anything as such in elastictastic?

Matthew A. Brown

unread,
Dec 25, 2012, 11:24:03 AM12/25/12
to elasti...@googlegroups.com
Howdy,

If you're using Elastictastic with Rails, it should log queries to the Rails log by default. Are you not seeing this behavior?

Mat


On Tue, Dec 25, 2012 at 2:52 AM, aash dhariya <aash.d...@gmail.com> wrote:
I am using elastictastic in my rails application. Does anybody know whether there is any way to log elasticsearch queries that are made through elastictastic? Previously when I was using tire, I could pass my logger file name path in tire configuration settings. Is there anything as such in elastictastic?

--
 
 

aash dhariya

unread,
Dec 25, 2012, 12:03:59 PM12/25/12
to elasti...@googlegroups.com
ok..yeah...its logging in rails development log


--
 
 



--
Thanks, 
Aash
Reply all
Reply to author
Forward
0 new messages