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 do I configure SphinxSearch using YAML?
- How do I use Sphinxsearch with Zsh?
- How can I use SphinxSearch and Zabbix together to monitor my system?
- How do I integrate Sphinxsearch with Yii2?
- How do I use SphinxSearch with XMLPipe2?
- How can I install and configure Sphinxsearch on Debian 11?
- How can I set up SphinxSearch to work with Yandex?
- How do I set up SphinxSearch with Zoom?
- How do I configure SphinxSearch to ignore certain stop words?
- How can I use Sphinx to search for words in a specific form?
See more codes...