Skip to content

Commit

Permalink
CTX-6554: logger "coretex" replaced with "coretexpylib"
Browse files Browse the repository at this point in the history
  • Loading branch information
Dusko Vesic committed Sep 4, 2024
1 parent bcc50d6 commit eaeaba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coretex/_task/worker/artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ def on_created(self, event: FileSystemEvent) -> None:
if filePath.name in IGNORED_FILES:
return

logging.getLogger("coretex").debug(f">> [Coretex] File created at path \"{filePath}\", adding to artifacts list")
logging.getLogger("coretexpylib").debug(f">> [Coretex] File created at path \"{filePath}\", adding to artifacts list")
self.artifactPaths.append(filePath)

def on_deleted(self, event: FileSystemEvent) -> None:
filePath = Path(event.src_path)

if filePath in self.artifactPaths:
logging.getLogger("coretex").debug(f">> [Coretex] Deleted file at path \"{filePath}\", removing from artifacts list")
logging.getLogger("coretexpylib").debug(f">> [Coretex] Deleted file at path \"{filePath}\", removing from artifacts list")
self.artifactPaths.remove(filePath)


Expand Down

0 comments on commit eaeaba6

Please sign in to comment.