mirror of
https://github.com/plexguide/Huntarr.git
synced 2026-05-03 11:49:07 -05:00
refactor: downgrade instance name logging from info to debug level across all apps
This commit is contained in:
@@ -69,7 +69,7 @@ def process_missing_items(
|
||||
stateful_management_hours = get_advanced_setting("stateful_management_hours", 168)
|
||||
|
||||
# Log that we're using Eros v3 API
|
||||
eros_logger.info(f"Using Eros API v3 for instance: {instance_name}")
|
||||
eros_logger.debug(f"Using Eros API v3 for instance: {instance_name}")
|
||||
|
||||
# Skip if hunt_missing_items is set to a negative value or 0
|
||||
if hunt_missing_items <= 0:
|
||||
|
||||
@@ -66,7 +66,7 @@ def process_cutoff_upgrades(
|
||||
state_reset_interval_hours = get_advanced_setting("stateful_management_hours", 168)
|
||||
|
||||
# Log that we're using Eros API v3
|
||||
eros_logger.info(f"Using Eros API v3 for instance: {instance_name}")
|
||||
eros_logger.debug(f"Using Eros API v3 for instance: {instance_name}")
|
||||
|
||||
# Skip if hunt_upgrade_items is set to 0
|
||||
if hunt_upgrade_items <= 0:
|
||||
|
||||
@@ -39,7 +39,7 @@ def process_missing_movies(
|
||||
|
||||
# Log important settings
|
||||
radarr_logger.info("=== Radarr Missing Movies Settings ===")
|
||||
radarr_logger.info(f"Instance Name: {instance_name}")
|
||||
radarr_logger.debug(f"Instance Name: {instance_name}")
|
||||
|
||||
# Extract necessary settings
|
||||
api_url = app_settings.get("api_url", "").strip()
|
||||
|
||||
@@ -42,7 +42,7 @@ def get_configured_instances():
|
||||
if is_enabled and api_url and api_key:
|
||||
# Get the exact instance name as configured in the UI
|
||||
instance_name = instance.get("name", "Default")
|
||||
sonarr_logger.info(f"Using configured instance name: '{instance_name}' for Sonarr instance")
|
||||
sonarr_logger.debug(f"Using configured instance name: '{instance_name}' for Sonarr instance")
|
||||
|
||||
# Return only essential instance details
|
||||
instance_data = {
|
||||
|
||||
@@ -62,7 +62,7 @@ def process_missing_items(
|
||||
command_wait_attempts = get_advanced_setting("command_wait_attempts", 600)
|
||||
|
||||
# Log that we're using Whisparr V2 API
|
||||
whisparr_logger.info(f"Using Whisparr V2 API for instance: {instance_name}")
|
||||
whisparr_logger.debug(f"Using Whisparr V2 API for instance: {instance_name}")
|
||||
|
||||
# Skip if hunt_missing_items is set to 0
|
||||
if hunt_missing_items <= 0:
|
||||
|
||||
@@ -60,7 +60,7 @@ def process_cutoff_upgrades(
|
||||
state_reset_interval_hours = get_advanced_setting("stateful_management_hours", 168)
|
||||
|
||||
# Log that we're using Whisparr V2 API
|
||||
whisparr_logger.info(f"Using Whisparr V2 API for instance: {instance_name}")
|
||||
whisparr_logger.debug(f"Using Whisparr V2 API for instance: {instance_name}")
|
||||
|
||||
# Skip if hunt_upgrade_items is set to 0
|
||||
if hunt_upgrade_items <= 0:
|
||||
|
||||
Reference in New Issue
Block a user