Skip to content

Commit d7b8ea3

Browse files
djklim87djklim87
andauthored
Feat/117 disable logging to file (#118)
* Feat: Disable logging to file Ref: #117 --------- Co-authored-by: djklim87 <[email protected]>
1 parent 63842f6 commit d7b8ea3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ RUN if [ -d "/packages/" ]; then apt -y install /packages/*deb; fi \
9999
&& rm /tmp/*.pak.tgz
100100

101101
COPY manticore.conf.sh /etc/manticoresearch/
102+
RUN sed -i '/log = \/var\/log\/manticore\/searchd.log/d;/query_log = \/var\/log\/manticore\/query.log/d' /etc/manticoresearch/manticore.conf
102103
RUN md5sum /etc/manticoresearch/manticore.conf | awk '{print $1}' > /manticore.conf.md5
103104
COPY sandbox.sql /sandbox.sql
104105
COPY .mysql_history /root/.mysql_history

clt_tests/tests/config-flexible-with-default-conf.rec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ listen = 172.18.0.2:9312
1717
listen = 172.18.0.2:9315-9325:replication
1818
listen = 9306:mysql41
1919
listen = 9308:http
20-
log = /var/log/manticore/searchd.log
2120
max_packet_size = 64m
2221
pid_file = /var/run/manticore/searchd.pid
23-
query_log = /var/log/manticore/query.log
2422
common {
2523
searchd {
2624
}

0 commit comments

Comments
 (0)