projects
/
music-assistant-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d6fec3
)
Revert "use instance_id instead of domain on provider level logging" (#3000)
author
Marvin Schenkel
<marvinschenkel@gmail.com>
Tue, 20 Jan 2026 14:51:48 +0000
(15:51 +0100)
committer
GitHub
<noreply@github.com>
Tue, 20 Jan 2026 14:51:48 +0000
(15:51 +0100)
Revert "use instance_id instead of domain on provider level logging (#2943)"
This reverts commit
7af16a90d8640bb4c0409a73237b9c64b7c2817c
.
music_assistant/models/provider.py
patch
|
blob
|
history
diff --git
a/music_assistant/models/provider.py
b/music_assistant/models/provider.py
index 07f0e0eb717e03c363fc0ea9a4a64c61f6ca9979..97e4c940072b36e497371eacef67a6c3877d0cff 100644
(file)
--- a/
music_assistant/models/provider.py
+++ b/
music_assistant/models/provider.py
@@
-35,11
+35,7
@@
class Provider:
self.config = config
self._supported_features = supported_features or set()
mass_logger = logging.getLogger(MASS_LOGGER_NAME)
- self.logger = (
- mass_logger.getChild(self.domain)
- if self.name != self.config.name
- else mass_logger.getChild(f"{self.domain} ({self.name})")
- )
+ self.logger = mass_logger.getChild(self.domain)
log_level = str(config.get_value(CONF_LOG_LEVEL))
if log_level == "GLOBAL":
self.logger.setLevel(mass_logger.level)