Hi Vincenzo, you're right -XGET shouldn't be there but curl is smart enough to ignore it so nothing changes eliminating it, tested.
2016-04-28 11:28 GMT+02:00 Vincenzo D'Amore <v.dam...@gmail.com>: > Hi Matteo, > > there is a problem in your curl test: as far as I know you cannot use GET > HTTP method ( -XGET ) and pass parameters in POST (-d). > > Try to remove the -XGET parameter. > > On Thu, Apr 28, 2016 at 11:18 AM, Matteo Grolla <matteo.gro...@gmail.com> > wrote: > > > Hi, > > I'm experimenting the query rest api with solr 5.4 and I'm noticing > > that query parameters are not logged in solr.log. > > Here are query and log line > > > > curl -XGET 'localhost:8983/solr/test/query' -d '{"query":"*:*"}' > > > > 2016-04-28 09:16:54.008 INFO (qtp668849042-17) [ x:test] > > o.a.s.c.S.Request [test] webapp=/solr path=/query params={} hits=32 > > status=0 QTime=46 > > > > Why this behaviour? How can I log request parameters for those queries? > > Thanks > > > > Matteo > > > > > > -- > Vincenzo D'Amore > email: v.dam...@gmail.com > skype: free.dev > mobile: +39 349 8513251 >