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 integrate Sphinxsearch with Yii2?
- How do I configure SphinxSearch using YAML?
- How do I use Sphinxsearch with Zsh?
- How can I set up SphinxSearch to work with Yandex?
- How can I use Sphinx to search for words in a specific form?
- How do I configure the log format for SphinxSearch?
- How can I use Sphinx Search to create a wiki?
- How do Sphinx Search and Solr compare for software development?
- How can I use Sphinx Search to generate word forms?
- How can I use SphinxSearch and Zabbix together to monitor my system?
See more codes...