sphinxsearchHow can I configure SphinxSearch to log to stdout?
SphinxSearch can be configured to log to stdout with the following steps:
- Open
sphinx.conf
in a text editor. - Find the
searchd
section and add the following line:log = stdout
- Save and close
sphinx.conf
. - Restart SphinxSearch with the
--config
option, e.g.searchd --config /etc/sphinx/sphinx.conf
.
The output will then be written to stdout, e.g.
[Fri Jan 31 15:06:45.890 2020] [0] listening on all interfaces, port=9312
[Fri Jan 31 15:06:45.890 2020] [0] listening on all interfaces, port=9306
[Fri Jan 31 15:06:45.890 2020] [0] listening on all interfaces, port=9308
[Fri Jan 31 15:06:45.890 2020] [0] listening on all interfaces, port=9315
[Fri Jan 31 15:06:45.890 2020] [0] listening on all interfaces, port=9313
[Fri Jan 31 15:06:45.890 2020] [0] listening on all interfaces, port=9309
For more information, see the SphinxSearch documentation.
More of Sphinxsearch
- How can I use Sphinx Search to weigh my search results?
- How can I use Sphinx Search to generate word forms?
- How do I use Sphinxsearch with Zsh?
- How do I configure SphinxSearch using YAML?
- How do I find the version of Sphinx Search I'm using?
- How can I use Sphinx Search to create a wiki?
- How do Sphinx Search and Solr compare for software development?
- How can I use Sphinxsearch with PostgreSQL?
- How do I install Sphinx Search?
- How can I use SphinxSearch and Sngrl together to optimize search results?
See more codes...