Adapter refactor
All checks were successful
ci/woodpecker/push/tests Pipeline was successful

Allows using different ways to retrieve hosts IP address
This commit is contained in:
Sonny Bakker 2025-05-03 13:12:13 +02:00 committed by sonny
parent 97cf1a8f5c
commit 84558826fb
15 changed files with 861 additions and 710 deletions

View file

@ -0,0 +1,21 @@
version: 1
formatters:
simple:
format: '%(asctime)s %(levelname)s %(name)s %(message)s'
datefmt: '%Y-%m-%d %H:%M:%S'
handlers:
console:
level: DEBUG
formatter: simple
class: logging.StreamHandler
file:
level: INFO
formatter: simple
class: logging.handlers.RotatingFileHandler
filename: /app/transip_client/logging/logs/app.log
backupCount: 5
maxBytes: 50000000 # 50 mB
loggers:
transip_client:
handlers: [console, file]
level: INFO