Skip to content

Commit fddf4ed

Browse files
committed
added name for http subsystem
1 parent 044becd commit fddf4ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

appdaemon/http.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,14 @@ class HTTP:
117117
AD: "AppDaemon"
118118
"""Reference to the AppDaemon container object
119119
"""
120+
name: str = "_http"
120121

121122
stopping: bool
122123
executor: concurrent.futures.ThreadPoolExecutor
123124

124125
def __init__(self, ad: "AppDaemon", dashboard, old_admin, admin, api, http):
125126
self.AD = ad
126-
self.logger = self.logging.get_child("_http")
127+
self.logger = self.logging.get_child(self.name)
127128
self.access = self.logging.get_access()
128129

129130
self.dashboard = dashboard

0 commit comments

Comments
 (0)