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 install SphinxSearch on Debian?
- How do I install Sphinxsearch on Ubuntu?
- How do I use Sphinxsearch with Zsh?
- How do I use SphinxSearch with XMLPipe2?
- How do I install SphinxSearch version 2.2?
- How do I use SphinxSearch query syntax?
- How do I use Sphinx Search to find words using ngram_chars?
- How do I integrate Sphinxsearch with Yii2?
- How do I configure SphinxSearch to ignore certain stop words?
See more codes...