Skip to content
Snippets Groups Projects
Commit 17d6c819 authored by istmxrein's avatar istmxrein
Browse files

Get log level from environment & bump tp 1.7.0

parent a1758eae
Branches
Tags
No related merge requests found
import threading
from pydantic import BaseModel
import logging import logging
import ctypes import os
from pydantic import BaseModel
LOG_LEVEL = os.getenv('LOG_LEVEL') or 'INFO'
LOG_LEVEL="INFO"
class LogConfig(BaseModel): class LogConfig(BaseModel):
"""Logging configuration to be set for the server""" """Logging configuration to be set for the server"""
......
...@@ -2,7 +2,7 @@ from setuptools import setup, find_packages ...@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup( setup(
name='pilab', name='pilab',
version='1.6.1', version='1.7.0',
description='Shared-Libs for the pi-lab microservices', description='Shared-Libs for the pi-lab microservices',
url='https://code.fbi.h-da.de/api/v4/projects/27896/packages/pypi/pilab', url='https://code.fbi.h-da.de/api/v4/projects/27896/packages/pypi/pilab',
author='Max Reinheimer', author='Max Reinheimer',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment