Browse Source

Configurable logging level hastic/analytics#19 (#921)

* Configurable logging level hastic/analytics#19

* upd

* HS_AL_LOGGING_LEVEL -> HS_AN_LOGGING_LEVEL

Co-authored-by: corpglory-dev <dev@corpglory.com>
pull/1/head
rozetko 4 years ago committed by GitHub
parent
commit
85f88e2f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      config.example.json
  2. 1
      docker-compose-mongo.yml
  3. 1
      docker-compose.yml

3
config.example.json

@ -3,5 +3,6 @@
"HASTIC_API_KEY": "eyJrIjoiVjZqMHY0dHk4UEE3eEN4MzgzRnd2aURlMWlIdXdHNW4iLCJuIjoiaGFzdGljIiwiaWQiOjF9", "HASTIC_API_KEY": "eyJrIjoiVjZqMHY0dHk4UEE3eEN4MzgzRnd2aURlMWlIdXdHNW4iLCJuIjoiaGFzdGljIiwiaWQiOjF9",
"HASTIC_WEBHOOK_URL": "http://localhost:8080", "HASTIC_WEBHOOK_URL": "http://localhost:8080",
"GRAFANA_URL": "http://localhost:3000", "GRAFANA_URL": "http://localhost:3000",
"LEARNING_TIMEOUT": 120 "LEARNING_TIMEOUT": 120,
"HS_AN_LOGGING_LEVEL": "DEBUG"
} }

1
docker-compose-mongo.yml

@ -34,6 +34,7 @@ services:
environment: environment:
# TODO: use any port for server connection # TODO: use any port for server connection
HASTIC_SERVER_URL: "ws://server:8002" HASTIC_SERVER_URL: "ws://server:8002"
HS_AN_LOGGING_LEVEL: ${HS_AN_LOGGING_LEVEL}
networks: networks:
- hastic-network - hastic-network
restart: always restart: always

1
docker-compose.yml

@ -32,6 +32,7 @@ services:
environment: environment:
# TODO: use any port for server connection # TODO: use any port for server connection
HASTIC_SERVER_URL: "ws://server:8002" HASTIC_SERVER_URL: "ws://server:8002"
HS_AN_LOGGING_LEVEL: ${HS_AN_LOGGING_LEVEL}
networks: networks:
- hastic-network - hastic-network
restart: always restart: always

Loading…
Cancel
Save