Skip to content

Commit

Permalink
fix: removing logger level setting (#205)
Browse files Browse the repository at this point in the history
Fix: Logging and docstring

---------

Signed-off-by: s0nicboOm <[email protected]>
  • Loading branch information
s0nicboOm authored and ab93 committed Jun 6, 2023
1 parent c2c4943 commit bd050c9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion numalogic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@


LOGGER = logging.getLogger(__name__)
LOGGER.setLevel(logging.INFO)
LOGGER.addHandler(logging.NullHandler())
2 changes: 1 addition & 1 deletion numalogic/registry/redis_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def save(
with self.client.pipeline() as pipe:
new_version_key = self.__save_artifact(pipe, artifact, metadata, key, str(version))
pipe.expire(name=new_version_key, time=self.ttl)
_LOGGER.info("Model is successfully with the key = %s", new_version_key)
_LOGGER.info("Model with the key = %s, loaded successfully.", new_version_key)
pipe.execute()
except RedisError as err:
raise RedisRegistryError(f"{err.__class__.__name__} raised") from err
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "numalogic"
version = "0.4a1"
version = "0.4.0"
description = "Collection of operational Machine Learning models and tools."
authors = ["Numalogic Developers"]
packages = [{ include = "numalogic" }]
Expand Down

0 comments on commit bd050c9

Please sign in to comment.