Skip to content

Commit dbc099f

Browse files
committed
Update dev version
Update dev version * Fix logger use wrong name "AutoControl"
1 parent 2ff46e2 commit dbc099f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

automation_file/utils/logging/loggin_instance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
file_automation_logger = logging.getLogger("File Automation")
55
formatter = logging.Formatter('%(asctime)s | %(name)s | %(levelname)s | %(message)s')
66
# File handler
7-
file_handler = logging.FileHandler(filename="AutoControlGUI.log", mode="w")
7+
file_handler = logging.FileHandler(filename="FileAutomation.log", mode="w")
88
file_handler.setFormatter(formatter)
99
file_automation_logger.addHandler(file_handler)
1010

11-
class APITestkaLoggingHandler(logging.Handler):
11+
class FileAutomationLoggingHandler(logging.Handler):
1212

1313
# redirect logging stderr output to queue
1414

@@ -22,6 +22,6 @@ def emit(self, record: logging.LogRecord) -> None:
2222

2323

2424
# Stream handler
25-
file_automation_logger.addHandler(APITestkaLoggingHandler())
25+
file_automation_logger.addHandler(FileAutomationLoggingHandler())
2626

2727

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "automation_file_dev"
9-
version = "0.0.24"
9+
version = "0.0.25"
1010
authors = [
1111
{ name = "JE-Chen", email = "[email protected]" },
1212
]

0 commit comments

Comments
 (0)