query_log_format
query_log_format
Query log format. Optional, allowed values are 'plain' and 'sphinxql', default is 'plain'. Introduced in version 2.0.1-beta.
Starting with version 2.0.1-beta, two different log formats are supported.
The default one logs queries in a custom text format. The new one logs
valid SphinxQL statements. This directive allows to switch between the two
formats on search daemon startup. The log format can also be altered
on the fly, using SET GLOBAL query_log_format=sphinxql syntax.
Refer to the section called “searchd query log formats” for more discussion and format
details.
Example:
query_log_format = sphinxql
