do not use filename in logging.basicconfig
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-08-07 00:02:07 +02:00
parent e7e6acd0b9
commit 1dc616412f
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
2 changed files with 4 additions and 5 deletions

View File

@ -24,7 +24,7 @@ def message_callback(ch, method, properties, body):
def main():
logging.basicConfig(stream=sys.stdout, filename="", format="%(asctime)s - %(name)s [%(levelname)s]: %(message)s",
logging.basicConfig(stream=sys.stdout, format="%(asctime)s - %(name)s [%(levelname)s]: %(message)s",
level=logging.DEBUG if '--debug' in sys.argv else logging.INFO)
SENTRY_DSN = os.environ.get("SENTRY_DSN")

View File

@ -19,12 +19,11 @@ services:
- "127.0.0.1:15672:15672"
- "127.0.0.1:5672:5672"
cnc-service:
image: registry.kmlabz.com/birbnetes/activemq-artemis
cnn-service:
image: registry.kmlabz.com/birbnetes/cnn-classification-service
restart: always
depends_on:
- activemq
- postgres
- rabbitmq
environment:
SENTRY_DSN: https://094270eeb6a7450ead80e87d04cd7552@sentry.kmlabz.com/4
RELEASE_ID: compose