diff --git a/logging_loki/json_loki_logger.py b/logging_loki/json_loki_logger.py index 68b9abc..e060032 100644 --- a/logging_loki/json_loki_logger.py +++ b/logging_loki/json_loki_logger.py @@ -1,6 +1,6 @@ import json -from logging_loki import LokiLogger +from .loki_logger import LokiLogger class JsonLokiLogger: diff --git a/logging_loki/loki_context_logger.py b/logging_loki/loki_context_logger.py index 7a94a98..4d3d2ed 100644 --- a/logging_loki/loki_context_logger.py +++ b/logging_loki/loki_context_logger.py @@ -1,7 +1,5 @@ -import copy - -from logging_loki import LogContext -from logging_loki import LokiLogger +from .log_context import LogContext +from .loki_logger import LokiLogger class LokiContextLogger: diff --git a/logging_loki/loki_logger.py b/logging_loki/loki_logger.py index a5196ba..323fe53 100644 --- a/logging_loki/loki_logger.py +++ b/logging_loki/loki_logger.py @@ -1,7 +1,7 @@ import logging import logging.handlers from multiprocessing import Queue -from logging_loki import LokiHandler +from .handlers import LokiHandler class LokiLogger: diff --git a/pyproject.toml b/pyproject.toml index de08bba..4bc22a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "inuits-python-logging-loki" -version = "1.2.0" +version = "1.2.1" description = "Python logging handler for Grafana Loki." readme = "README.md" authors = [{ name = "Inuits", email = "developers@inuits.eu" }, {name="Andrey Maslov", email="greyzmeem@gmail.com"}]