do not use filename in logging.basicconfig
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e7e6acd0b9
commit
1dc616412f
@ -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")
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user