mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
remove structlog from internal paths (#8836)
This commit is contained in:
parent
ae1f9bf274
commit
6b5e0dbb29
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
import json
|
import json
|
||||||
|
import logging
|
||||||
import os
|
import os
|
||||||
import random
|
import random
|
||||||
import shutil
|
import shutil
|
||||||
@ -12,9 +13,7 @@ from pathlib import Path
|
|||||||
from django.core.files.base import ContentFile
|
from django.core.files.base import ContentFile
|
||||||
from django.core.files.storage import Storage
|
from django.core.files.storage import Storage
|
||||||
|
|
||||||
import structlog
|
logger = logging.getLogger('inventree')
|
||||||
|
|
||||||
logger = structlog.get_logger('inventree')
|
|
||||||
CONFIG_DATA = None
|
CONFIG_DATA = None
|
||||||
CONFIG_LOOKUPS = {}
|
CONFIG_LOOKUPS = {}
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
Provides information on the current InvenTree version
|
Provides information on the current InvenTree version
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import logging
|
||||||
import os
|
import os
|
||||||
import pathlib
|
import pathlib
|
||||||
import platform
|
import platform
|
||||||
@ -20,9 +21,7 @@ from .api_version import INVENTREE_API_TEXT, INVENTREE_API_VERSION
|
|||||||
INVENTREE_SW_VERSION = '0.18.0 dev'
|
INVENTREE_SW_VERSION = '0.18.0 dev'
|
||||||
|
|
||||||
|
|
||||||
import structlog
|
logger = logging.getLogger('inventree')
|
||||||
|
|
||||||
logger = structlog.get_logger('inventree')
|
|
||||||
|
|
||||||
|
|
||||||
# Discover git
|
# Discover git
|
||||||
|
Loading…
x
Reference in New Issue
Block a user