update manticore log folder

This commit is contained in:
Adrian Nuta 2019-08-10 11:04:26 +02:00
parent 8254c34647
commit 4184f45fbd
2 changed files with 4 additions and 4 deletions

View File

@ -1531,7 +1531,7 @@ services:
volumes: volumes:
- ${MANTICORE_CONFIG_PATH}:/etc/sphinxsearch - ${MANTICORE_CONFIG_PATH}:/etc/sphinxsearch
- ${DATA_PATH_HOST}/manticore/data:/var/lib/manticore/data - ${DATA_PATH_HOST}/manticore/data:/var/lib/manticore/data
- ${DATA_PATH_HOST}/manticore/log:/var/lib/manticore/log - ${DATA_PATH_HOST}/manticore/log:/var/log/manticore
ports: ports:
- "${MANTICORE_API_PORT}:9312" - "${MANTICORE_API_PORT}:9312"
- "${MANTICORE_SPHINXQL_PORT}:9306" - "${MANTICORE_SPHINXQL_PORT}:9306"

View File

@ -11,12 +11,12 @@ searchd {
listen = 9312 listen = 9312
listen = 9308:http listen = 9308:http
listen = 9306:mysql41 listen = 9306:mysql41
log = /var/lib/manticore/log/searchd.log log = /var/log/manticore/searchd.log
# you can also send query_log to /dev/stdout to be shown in docker logs # you can also send query_log to /dev/stdout to be shown in docker logs
query_log = /var/lib/manticore/log/query.log query_log = /var/log/manticore/query.log
read_timeout = 5 read_timeout = 5
max_children = 30 max_children = 30
pid_file = /var/run/searchd.pid pid_file = /var/run/manticore/searchd.pid
seamless_rotate = 1 seamless_rotate = 1
preopen_indexes = 1 preopen_indexes = 1
unlink_old = 1 unlink_old = 1