fix: add meta service prefix to log messages

This commit is contained in:
Andrew Phillips
2025-08-26 15:02:22 -03:00
committed by Andrew Phillips (aider)
parent e5eadbfc53
commit 4795a2b2cc

View File

@@ -106,7 +106,7 @@ impl MetaService {
// Print warnings for duplicate output names // Print warnings for duplicate output names
for (output_name, plugin_names) in &output_names { for (output_name, plugin_names) in &output_names {
if plugin_names.len() > 1 { if plugin_names.len() > 1 {
log::warn!("Output name '{}' is provided by multiple plugins: {}", log::warn!("META_SERVICE: Output name '{}' is provided by multiple plugins: {}",
output_name, output_name,
plugin_names.join(", ")); plugin_names.join(", "));
} }
@@ -114,7 +114,7 @@ impl MetaService {
for meta_plugin in plugins.iter_mut() { for meta_plugin in plugins.iter_mut() {
if let Err(e) = meta_plugin.initialize(conn, item_id) { if let Err(e) = meta_plugin.initialize(conn, item_id) {
log::warn!("Failed to initialize meta plugin: {}", e); log::warn!("META_SERVICE: Failed to initialize meta plugin: {}", e);
} }
} }
} }