From 66490d5db416856c75412945fe2d77f366aa20e3 Mon Sep 17 00:00:00 2001 From: Craeckie Date: Fri, 18 Aug 2023 14:25:52 +0000 Subject: [PATCH] chore: Enable logging, but reduce verboseness of typesense container (#3761) Co-authored-by: ultrabook --- docker/docker-compose.dev.yml | 4 ++-- docker/docker-compose.prod.yml | 4 ++-- docker/docker-compose.yml | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml index c8b69da0e4..14c5238d0d 100644 --- a/docker/docker-compose.dev.yml +++ b/docker/docker-compose.dev.yml @@ -100,8 +100,8 @@ services: environment: - TYPESENSE_API_KEY=${TYPESENSE_API_KEY} - TYPESENSE_DATA_DIR=/data - logging: - driver: none + # remove this to get debug messages + - GLOG_minloglevel=1 volumes: - tsdata:/data diff --git a/docker/docker-compose.prod.yml b/docker/docker-compose.prod.yml index 8e4a6ca613..0374def08f 100644 --- a/docker/docker-compose.prod.yml +++ b/docker/docker-compose.prod.yml @@ -68,8 +68,8 @@ services: environment: - TYPESENSE_API_KEY=${TYPESENSE_API_KEY} - TYPESENSE_DATA_DIR=/data - logging: - driver: none + # remove this to get debug messages + - GLOG_minloglevel=1 volumes: - tsdata:/data restart: always diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index c7e3be9934..d967639723 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -54,6 +54,8 @@ services: environment: - TYPESENSE_API_KEY=${TYPESENSE_API_KEY} - TYPESENSE_DATA_DIR=/data + # remove this to get debug messages + - GLOG_minloglevel=1 volumes: - tsdata:/data restart: always