Interface: LogTemplatesInterface
Defined in: shared/utils/logTemplates.ts:422
Interface for the log templates catalog structure.
Propertiesโ
debugโ
readonly debug: {
APPLICATION_CLEANUP_SERVICE: "[ApplicationService] Cleaning up {name}";
APPLICATION_FORWARDING_CACHE_INVALIDATION: "[ApplicationService] Forwarding cache invalidation to renderer";
APPLICATION_FORWARDING_HISTORY_LIMIT_UPDATED: "[ApplicationService] Forwarding history limit update to renderer";
APPLICATION_FORWARDING_MANUAL_CHECK_COMPLETED: "[ApplicationService] Forwarding manual monitor check completion to renderer";
APPLICATION_FORWARDING_MONITOR_STATUS: "[ApplicationService] Forwarding monitor status change to renderer";
APPLICATION_MONITOR_RECOVERED: "[ApplicationService] Monitor recovered - sending desktop notification";
APPLICATION_FORWARDING_MONITORING_STARTED: "[ApplicationService] Forwarding monitoring started to renderer";
APPLICATION_FORWARDING_MONITORING_STOPPED: "[ApplicationService] Forwarding monitoring stopped to renderer";
APPLICATION_FORWARDING_STATE_SYNC: "[ApplicationService] Forwarding state sync event to renderer";
BACKGROUND_LOAD_COMPLETE: "[SiteManager] Background site load completed: {identifier}";
BACKGROUND_LOAD_START: "[SiteManager] Loading site in background: {identifier}";
DATABASE_LOCK_RECOVERY_MISSING_ARTIFACTS: "[DatabaseService] Lock recovery missing artifacts {missing}";
EVENT_BUS_CLEARED: "[TypedEventBus:{busId}] Cleared {count} middleware functions";
EVENT_BUS_CREATED: "[TypedEventBus:{busId}] Created new event bus (max middleware: {maxMiddleware})";
EVENT_BUS_EMISSION_START: "[TypedEventBus:{busId}] Starting emission of '{eventName}' [{correlationId}]";
EVENT_BUS_EMISSION_SUCCESS: "[TypedEventBus:{busId}] Successfully emitted '{eventName}' [{correlationId}]";
EVENT_BUS_LISTENER_REGISTERED: "[TypedEventBus:{busId}] Registered listener for '{eventName}'";
EVENT_BUS_LISTENER_REMOVED: "[TypedEventBus:{busId}] Removed listener(s) for '{eventName}'";
EVENT_BUS_MIDDLEWARE_REMOVED: "[TypedEventBus:{busId}] Removed middleware (remaining: {count})";
EVENT_BUS_ONE_TIME_LISTENER: "[TypedEventBus:{busId}] Registered one-time listener for '{eventName}'";
HISTORY_ENTRY_ADDED: "[HistoryManipulation] Added history entry for monitor: {monitorId} - Status: {status}";
MONITOR_AUTO_STARTED: "[MonitorManager] Auto-started monitoring for new monitor: {monitorId}";
MONITOR_CHECK_START: "Checking monitor: site={siteIdentifier}, id={monitorId}, operation={operationId}";
MONITOR_INTERVALS_APPLIED: "[MonitorManager] Applied interval for monitor {monitorId}: {interval}s";
MONITOR_MANAGER_AUTO_STARTING_SITE: "[MonitorManager] Auto-starting monitoring for site: {identifier}";
MONITOR_MANAGER_INTERVALS_SETTING: "[MonitorManager] Applying default intervals for site: {identifier}";
MONITOR_MANAGER_NO_MONITORS_FOUND: "[MonitorManager] No monitors found for site: {identifier}";
MONITOR_MANAGER_SETUP_MONITORS: "[MonitorManager] Setting up {count} new monitors for site: {identifier}";
MONITOR_MANAGER_SKIP_AUTO_START: "[MonitorManager] Skipping auto-start for new monitors - site monitoring disabled";
MONITOR_MANAGER_SKIP_INDIVIDUAL: "[MonitorManager] Skipping monitor {monitorId} - individual monitoring disabled";
MONITOR_MANAGER_SKIP_NEW_INDIVIDUAL: "[MonitorManager] Skipping new monitor {monitorId} - individual monitoring disabled";
MONITOR_MANAGER_VALID_MONITORS: "[MonitorManager] No valid new monitors found for site: {identifier}";
MONITOR_RESPONSE_TIME: "[HttpMonitor] URL {url} responded with status {status} in {responseTime}ms";
OPERATION_CANCELLED: "Cancelled {count} operations for monitor {monitorId}";
OPERATION_COMPLETED: "Completed operation {operationId} for monitor {monitorId}";
OPERATION_TIMEOUT_SCHEDULED: "Scheduled timeout for operation {operationId} ({timeoutMs}ms)";
SITE_BACKGROUND_LOAD_FAILED: "[SiteManager] Site not found during background load: {identifier}";
SITE_CACHE_MISS_ERROR: "[SiteManager] Failed to emit cache miss event";
SITE_LOADING_ERROR_IGNORED: "[SiteManager] Background loading error ignored";
};
Defined in: shared/utils/logTemplates.ts:423
APPLICATION_CLEANUP_SERVICEโ
readonly APPLICATION_CLEANUP_SERVICE: "[ApplicationService] Cleaning up {name}" = "[ApplicationService] Cleaning up {name}";
Application cleanup service
APPLICATION_FORWARDING_CACHE_INVALIDATIONโ
readonly APPLICATION_FORWARDING_CACHE_INVALIDATION: "[ApplicationService] Forwarding cache invalidation to renderer" = "[ApplicationService] Forwarding cache invalidation to renderer";
Application forwarding events
APPLICATION_FORWARDING_HISTORY_LIMIT_UPDATEDโ
readonly APPLICATION_FORWARDING_HISTORY_LIMIT_UPDATED: "[ApplicationService] Forwarding history limit update to renderer" = "[ApplicationService] Forwarding history limit update to renderer";
APPLICATION_FORWARDING_MANUAL_CHECK_COMPLETEDโ
readonly APPLICATION_FORWARDING_MANUAL_CHECK_COMPLETED: "[ApplicationService] Forwarding manual monitor check completion to renderer" = "[ApplicationService] Forwarding manual monitor check completion to renderer";
APPLICATION_FORWARDING_MONITOR_STATUSโ
readonly APPLICATION_FORWARDING_MONITOR_STATUS: "[ApplicationService] Forwarding monitor status change to renderer" = "[ApplicationService] Forwarding monitor status change to renderer";
APPLICATION_MONITOR_RECOVEREDโ
readonly APPLICATION_MONITOR_RECOVERED: "[ApplicationService] Monitor recovered - sending desktop notification" = "[ApplicationService] Monitor recovered - sending desktop notification";
APPLICATION_FORWARDING_MONITORING_STARTEDโ
readonly APPLICATION_FORWARDING_MONITORING_STARTED: "[ApplicationService] Forwarding monitoring started to renderer" = "[ApplicationService] Forwarding monitoring started to renderer";
APPLICATION_FORWARDING_MONITORING_STOPPEDโ
readonly APPLICATION_FORWARDING_MONITORING_STOPPED: "[ApplicationService] Forwarding monitoring stopped to renderer" = "[ApplicationService] Forwarding monitoring stopped to renderer";
APPLICATION_FORWARDING_STATE_SYNCโ
readonly APPLICATION_FORWARDING_STATE_SYNC: "[ApplicationService] Forwarding state sync event to renderer" = "[ApplicationService] Forwarding state sync event to renderer";
BACKGROUND_LOAD_COMPLETEโ
readonly BACKGROUND_LOAD_COMPLETE: "[SiteManager] Background site load completed: {identifier}" = "[SiteManager] Background site load completed: {identifier}";
Background operations
BACKGROUND_LOAD_STARTโ
readonly BACKGROUND_LOAD_START: "[SiteManager] Loading site in background: {identifier}" = "[SiteManager] Loading site in background: {identifier}";
DATABASE_LOCK_RECOVERY_MISSING_ARTIFACTSโ
readonly DATABASE_LOCK_RECOVERY_MISSING_ARTIFACTS: "[DatabaseService] Lock recovery missing artifacts {missing}" = "[DatabaseService] Lock recovery missing artifacts {missing}";
Database recovery details
EVENT_BUS_CLEAREDโ
readonly EVENT_BUS_CLEARED: "[TypedEventBus:{busId}] Cleared {count} middleware functions" = "[TypedEventBus:{busId}] Cleared {count} middleware functions";
Event bus operations
EVENT_BUS_CREATEDโ
readonly EVENT_BUS_CREATED: "[TypedEventBus:{busId}] Created new event bus (max middleware: {maxMiddleware})" = "[TypedEventBus:{busId}] Created new event bus (max middleware: {maxMiddleware})";
EVENT_BUS_EMISSION_STARTโ
readonly EVENT_BUS_EMISSION_START: "[TypedEventBus:{busId}] Starting emission of '{eventName}' [{correlationId}]" = "[TypedEventBus:{busId}] Starting emission of '{eventName}' [{correlationId}]";
EVENT_BUS_EMISSION_SUCCESSโ
readonly EVENT_BUS_EMISSION_SUCCESS: "[TypedEventBus:{busId}] Successfully emitted '{eventName}' [{correlationId}]" = "[TypedEventBus:{busId}] Successfully emitted '{eventName}' [{correlationId}]";
EVENT_BUS_LISTENER_REGISTEREDโ
readonly EVENT_BUS_LISTENER_REGISTERED: "[TypedEventBus:{busId}] Registered listener for '{eventName}'" = "[TypedEventBus:{busId}] Registered listener for '{eventName}'";
EVENT_BUS_LISTENER_REMOVEDโ
readonly EVENT_BUS_LISTENER_REMOVED: "[TypedEventBus:{busId}] Removed listener(s) for '{eventName}'" = "[TypedEventBus:{busId}] Removed listener(s) for '{eventName}'";
EVENT_BUS_MIDDLEWARE_REMOVEDโ
readonly EVENT_BUS_MIDDLEWARE_REMOVED: "[TypedEventBus:{busId}] Removed middleware (remaining: {count})" = "[TypedEventBus:{busId}] Removed middleware (remaining: {count})";
EVENT_BUS_ONE_TIME_LISTENERโ
readonly EVENT_BUS_ONE_TIME_LISTENER: "[TypedEventBus:{busId}] Registered one-time listener for '{eventName}'" = "[TypedEventBus:{busId}] Registered one-time listener for '{eventName}'";
HISTORY_ENTRY_ADDEDโ
readonly HISTORY_ENTRY_ADDED: "[HistoryManipulation] Added history entry for monitor: {monitorId} - Status: {status}" = "[HistoryManipulation] Added history entry for monitor: {monitorId} - Status: {status}";
History operations
MONITOR_AUTO_STARTEDโ
readonly MONITOR_AUTO_STARTED: "[MonitorManager] Auto-started monitoring for new monitor: {monitorId}" = "[MonitorManager] Auto-started monitoring for new monitor: {monitorId}";
Monitor lifecycle
MONITOR_CHECK_STARTโ
readonly MONITOR_CHECK_START: "Checking monitor: site={siteIdentifier}, id={monitorId}, operation={operationId}" = "Checking monitor: site={siteIdentifier}, id={monitorId}, operation={operationId}";
MONITOR_INTERVALS_APPLIEDโ
readonly MONITOR_INTERVALS_APPLIED: "[MonitorManager] Applied interval for monitor {monitorId}: {interval}s" = "[MonitorManager] Applied interval for monitor {monitorId}: {interval}s";
MONITOR_MANAGER_AUTO_STARTING_SITEโ
readonly MONITOR_MANAGER_AUTO_STARTING_SITE: "[MonitorManager] Auto-starting monitoring for site: {identifier}" = "[MonitorManager] Auto-starting monitoring for site: {identifier}";
MONITOR_MANAGER_INTERVALS_SETTINGโ
readonly MONITOR_MANAGER_INTERVALS_SETTING: "[MonitorManager] Applying default intervals for site: {identifier}" = "[MonitorManager] Applying default intervals for site: {identifier}";
MONITOR_MANAGER_NO_MONITORS_FOUNDโ
readonly MONITOR_MANAGER_NO_MONITORS_FOUND: "[MonitorManager] No monitors found for site: {identifier}" = "[MonitorManager] No monitors found for site: {identifier}";
MONITOR_MANAGER_SETUP_MONITORSโ
readonly MONITOR_MANAGER_SETUP_MONITORS: "[MonitorManager] Setting up {count} new monitors for site: {identifier}" = "[MonitorManager] Setting up {count} new monitors for site: {identifier}";
MONITOR_MANAGER_SKIP_AUTO_STARTโ
readonly MONITOR_MANAGER_SKIP_AUTO_START: "[MonitorManager] Skipping auto-start for new monitors - site monitoring disabled" = "[MonitorManager] Skipping auto-start for new monitors - site monitoring disabled";
MONITOR_MANAGER_SKIP_INDIVIDUALโ
readonly MONITOR_MANAGER_SKIP_INDIVIDUAL: "[MonitorManager] Skipping monitor {monitorId} - individual monitoring disabled" = "[MonitorManager] Skipping monitor {monitorId} - individual monitoring disabled";
MONITOR_MANAGER_SKIP_NEW_INDIVIDUALโ
readonly MONITOR_MANAGER_SKIP_NEW_INDIVIDUAL: "[MonitorManager] Skipping new monitor {monitorId} - individual monitoring disabled" = "[MonitorManager] Skipping new monitor {monitorId} - individual monitoring disabled";
MONITOR_MANAGER_VALID_MONITORSโ
readonly MONITOR_MANAGER_VALID_MONITORS: "[MonitorManager] No valid new monitors found for site: {identifier}" = "[MonitorManager] No valid new monitors found for site: {identifier}";
MONITOR_RESPONSE_TIMEโ
readonly MONITOR_RESPONSE_TIME: "[HttpMonitor] URL {url} responded with status {status} in {responseTime}ms" = "[HttpMonitor] URL {url} responded with status {status} in {responseTime}ms";
OPERATION_CANCELLEDโ
readonly OPERATION_CANCELLED: "Cancelled {count} operations for monitor {monitorId}" = "Cancelled {count} operations for monitor {monitorId}";
Operation management
OPERATION_COMPLETEDโ
readonly OPERATION_COMPLETED: "Completed operation {operationId} for monitor {monitorId}" = "Completed operation {operationId} for monitor {monitorId}";
OPERATION_TIMEOUT_SCHEDULEDโ
readonly OPERATION_TIMEOUT_SCHEDULED: "Scheduled timeout for operation {operationId} ({timeoutMs}ms)" = "Scheduled timeout for operation {operationId} ({timeoutMs}ms)";
SITE_BACKGROUND_LOAD_FAILEDโ
readonly SITE_BACKGROUND_LOAD_FAILED: "[SiteManager] Site not found during background load: {identifier}" = "[SiteManager] Site not found during background load: {identifier}";
Site operations
SITE_CACHE_MISS_ERRORโ
readonly SITE_CACHE_MISS_ERROR: "[SiteManager] Failed to emit cache miss event" = "[SiteManager] Failed to emit cache miss event";
SITE_LOADING_ERROR_IGNOREDโ
readonly SITE_LOADING_ERROR_IGNORED: "[SiteManager] Background loading error ignored" = "[SiteManager] Background loading error ignored";
errorsโ
readonly errors: {
APPLICATION_CLEANUP_ERROR: "[ApplicationService] Error during cleanup";
APPLICATION_FORWARD_CACHE_INVALIDATION_ERROR: "[ApplicationService] Failed to forward cache invalidation to renderer";
APPLICATION_FORWARD_HISTORY_LIMIT_UPDATED_ERROR: "[ApplicationService] Failed to forward history limit update to renderer";
APPLICATION_FORWARD_MANUAL_CHECK_COMPLETED_ERROR: "[ApplicationService] Failed to forward manual monitor check completion to renderer";
APPLICATION_HANDLE_MONITOR_DOWN_ERROR: "[ApplicationService] Failed to handle monitor down notification";
APPLICATION_FORWARD_MONITOR_STATUS_ERROR: "[ApplicationService] Failed to forward monitor status change to renderer";
APPLICATION_HANDLE_MONITOR_UP_ERROR: "[ApplicationService] Failed to handle monitor up notification";
APPLICATION_FORWARD_MONITORING_STARTED_ERROR: "[ApplicationService] Failed to forward monitoring started to renderer";
APPLICATION_FORWARD_MONITORING_STOPPED_ERROR: "[ApplicationService] Failed to forward monitoring stopped to renderer";
APPLICATION_FORWARD_STATE_SYNC_ERROR: "[ApplicationService] Failed to forward state sync event to renderer";
APPLICATION_INITIALIZATION_ERROR: "[ApplicationService] Error during app initialization";
APPLICATION_SYSTEM_ERROR: "[ApplicationService] System error: {context}";
APPLICATION_UPDATE_CHECK_ERROR: "[ApplicationService] Failed to check for updates";
DATABASE_BACKUP_FAILED: "[DatabaseBackup] Failed to create database backup";
DATABASE_CLOSE_FAILED: "[DatabaseService] Failed to close database connection";
DATABASE_INDEXES_FAILED: "[DatabaseSchema] Failed to create indexes";
DATABASE_SCHEMA_FAILED: "[DatabaseSchema] Failed to create database schema";
DATABASE_TABLES_FAILED: "[DatabaseSchema] Failed to create tables";
DATABASE_VALIDATION_SETUP_FAILED: "[DatabaseSchema] Failed to setup monitor type validation";
EVENT_BUS_EMISSION_FAILED: "[TypedEventBus:{busId}] Failed to emit '{eventName}' [{correlationId}]";
HISTORY_ADD_FAILED: "[HistoryManipulation] Failed to add history entry for monitor: {monitorId}";
HISTORY_FETCH_FAILED: "[HistoryQuery] Failed to fetch history for monitor: {monitorId}";
HISTORY_LATEST_FETCH_FAILED: "[HistoryQuery] Failed to get latest history entry for monitor: {monitorId}";
HISTORY_MAPPER_FAILED: "[HistoryMapper] Failed to map database row to history entry";
HISTORY_PRUNE_FAILED: "[HistoryManipulation] Failed to prune history for monitor: {monitorId}";
IPC_DUPLICATE_SITES_IN_GET_SITES_RESPONSE: "[IpcService] Duplicate site identifiers detected in get-sites response";
MONITOR_CHECK_ENHANCED_FAILED: "Enhanced monitor check failed for {monitorId}";
MONITOR_MAPPER_FAILED: "[MonitorMapper] Failed to build monitor parameters";
SETTINGS_MAPPER_FAILED: "[SettingsMapper:rowToSetting] Failed to map database row to setting";
SITE_BACKGROUND_LOAD_EMIT_ERROR: "[SiteManager] Failed to emit background load error event";
SITE_BACKGROUND_LOAD_FAILED: "[SiteManager] Background site load failed for {identifier}";
SITE_HISTORY_LIMIT_FAILED: "[SiteManager] Failed to set history limit";
SITE_INITIALIZATION_FAILED: "[SiteManager] Failed to initialize cache";
SITE_MAPPER_FAILED: "[SiteMapper] Failed to map database row to site";
SITE_MONITOR_REMOVAL_FAILED: "[SiteManager] Failed to remove monitor {monitorId} from site {siteIdentifier}";
};
Defined in: shared/utils/logTemplates.ts:424
APPLICATION_CLEANUP_ERRORโ
readonly APPLICATION_CLEANUP_ERROR: "[ApplicationService] Error during cleanup" = "[ApplicationService] Error during cleanup";
Application errors
APPLICATION_FORWARD_CACHE_INVALIDATION_ERRORโ
readonly APPLICATION_FORWARD_CACHE_INVALIDATION_ERROR: "[ApplicationService] Failed to forward cache invalidation to renderer" = "[ApplicationService] Failed to forward cache invalidation to renderer";
APPLICATION_FORWARD_HISTORY_LIMIT_UPDATED_ERRORโ
readonly APPLICATION_FORWARD_HISTORY_LIMIT_UPDATED_ERROR: "[ApplicationService] Failed to forward history limit update to renderer" = "[ApplicationService] Failed to forward history limit update to renderer";
APPLICATION_FORWARD_MANUAL_CHECK_COMPLETED_ERRORโ
readonly APPLICATION_FORWARD_MANUAL_CHECK_COMPLETED_ERROR: "[ApplicationService] Failed to forward manual monitor check completion to renderer" = "[ApplicationService] Failed to forward manual monitor check completion to renderer";
APPLICATION_HANDLE_MONITOR_DOWN_ERRORโ
readonly APPLICATION_HANDLE_MONITOR_DOWN_ERROR: "[ApplicationService] Failed to handle monitor down notification" = "[ApplicationService] Failed to handle monitor down notification";
APPLICATION_FORWARD_MONITOR_STATUS_ERRORโ
readonly APPLICATION_FORWARD_MONITOR_STATUS_ERROR: "[ApplicationService] Failed to forward monitor status change to renderer" = "[ApplicationService] Failed to forward monitor status change to renderer";
APPLICATION_HANDLE_MONITOR_UP_ERRORโ
readonly APPLICATION_HANDLE_MONITOR_UP_ERROR: "[ApplicationService] Failed to handle monitor up notification" = "[ApplicationService] Failed to handle monitor up notification";
APPLICATION_FORWARD_MONITORING_STARTED_ERRORโ
readonly APPLICATION_FORWARD_MONITORING_STARTED_ERROR: "[ApplicationService] Failed to forward monitoring started to renderer" = "[ApplicationService] Failed to forward monitoring started to renderer";
APPLICATION_FORWARD_MONITORING_STOPPED_ERRORโ
readonly APPLICATION_FORWARD_MONITORING_STOPPED_ERROR: "[ApplicationService] Failed to forward monitoring stopped to renderer" = "[ApplicationService] Failed to forward monitoring stopped to renderer";
APPLICATION_FORWARD_STATE_SYNC_ERRORโ
readonly APPLICATION_FORWARD_STATE_SYNC_ERROR: "[ApplicationService] Failed to forward state sync event to renderer" = "[ApplicationService] Failed to forward state sync event to renderer";
APPLICATION_INITIALIZATION_ERRORโ
readonly APPLICATION_INITIALIZATION_ERROR: "[ApplicationService] Error during app initialization" = "[ApplicationService] Error during app initialization";
APPLICATION_SYSTEM_ERRORโ
readonly APPLICATION_SYSTEM_ERROR: "[ApplicationService] System error: {context}" = "[ApplicationService] System error: {context}";
APPLICATION_UPDATE_CHECK_ERRORโ
readonly APPLICATION_UPDATE_CHECK_ERROR: "[ApplicationService] Failed to check for updates" = "[ApplicationService] Failed to check for updates";
DATABASE_BACKUP_FAILEDโ
readonly DATABASE_BACKUP_FAILED: "[DatabaseBackup] Failed to create database backup" = "[DatabaseBackup] Failed to create database backup";
Database errors
DATABASE_CLOSE_FAILEDโ
readonly DATABASE_CLOSE_FAILED: "[DatabaseService] Failed to close database connection" = "[DatabaseService] Failed to close database connection";
DATABASE_INDEXES_FAILEDโ
readonly DATABASE_INDEXES_FAILED: "[DatabaseSchema] Failed to create indexes" = "[DatabaseSchema] Failed to create indexes";
DATABASE_SCHEMA_FAILEDโ
readonly DATABASE_SCHEMA_FAILED: "[DatabaseSchema] Failed to create database schema" = "[DatabaseSchema] Failed to create database schema";
DATABASE_TABLES_FAILEDโ
readonly DATABASE_TABLES_FAILED: "[DatabaseSchema] Failed to create tables" = "[DatabaseSchema] Failed to create tables";
DATABASE_VALIDATION_SETUP_FAILEDโ
readonly DATABASE_VALIDATION_SETUP_FAILED: "[DatabaseSchema] Failed to setup monitor type validation" = "[DatabaseSchema] Failed to setup monitor type validation";
EVENT_BUS_EMISSION_FAILEDโ
readonly EVENT_BUS_EMISSION_FAILED: "[TypedEventBus:{busId}] Failed to emit '{eventName}' [{correlationId}]" = "[TypedEventBus:{busId}] Failed to emit '{eventName}' [{correlationId}]";
Event bus errors
HISTORY_ADD_FAILEDโ
readonly HISTORY_ADD_FAILED: "[HistoryManipulation] Failed to add history entry for monitor: {monitorId}" = "[HistoryManipulation] Failed to add history entry for monitor: {monitorId}";
History errors
HISTORY_FETCH_FAILEDโ
readonly HISTORY_FETCH_FAILED: "[HistoryQuery] Failed to fetch history for monitor: {monitorId}" = "[HistoryQuery] Failed to fetch history for monitor: {monitorId}";
HISTORY_LATEST_FETCH_FAILEDโ
readonly HISTORY_LATEST_FETCH_FAILED: "[HistoryQuery] Failed to get latest history entry for monitor: {monitorId}" = "[HistoryQuery] Failed to get latest history entry for monitor: {monitorId}";
HISTORY_MAPPER_FAILEDโ
readonly HISTORY_MAPPER_FAILED: "[HistoryMapper] Failed to map database row to history entry" = "[HistoryMapper] Failed to map database row to history entry";
HISTORY_PRUNE_FAILEDโ
readonly HISTORY_PRUNE_FAILED: "[HistoryManipulation] Failed to prune history for monitor: {monitorId}" = "[HistoryManipulation] Failed to prune history for monitor: {monitorId}";
IPC_DUPLICATE_SITES_IN_GET_SITES_RESPONSEโ
readonly IPC_DUPLICATE_SITES_IN_GET_SITES_RESPONSE: "[IpcService] Duplicate site identifiers detected in get-sites response" = "[IpcService] Duplicate site identifiers detected in get-sites response";
Duplicate site identifiers detected in get-sites response
MONITOR_CHECK_ENHANCED_FAILEDโ
readonly MONITOR_CHECK_ENHANCED_FAILED: "Enhanced monitor check failed for {monitorId}" = "Enhanced monitor check failed for {monitorId}";
Monitor errors
MONITOR_MAPPER_FAILEDโ
readonly MONITOR_MAPPER_FAILED: "[MonitorMapper] Failed to build monitor parameters" = "[MonitorMapper] Failed to build monitor parameters";
SETTINGS_MAPPER_FAILEDโ
readonly SETTINGS_MAPPER_FAILED: "[SettingsMapper:rowToSetting] Failed to map database row to setting" = "[SettingsMapper:rowToSetting] Failed to map database row to setting";
Settings errors
SITE_BACKGROUND_LOAD_EMIT_ERRORโ
readonly SITE_BACKGROUND_LOAD_EMIT_ERROR: "[SiteManager] Failed to emit background load error event" = "[SiteManager] Failed to emit background load error event";
SITE_BACKGROUND_LOAD_FAILEDโ
readonly SITE_BACKGROUND_LOAD_FAILED: "[SiteManager] Background site load failed for {identifier}" = "[SiteManager] Background site load failed for {identifier}";
Site errors
SITE_HISTORY_LIMIT_FAILEDโ
readonly SITE_HISTORY_LIMIT_FAILED: "[SiteManager] Failed to set history limit" = "[SiteManager] Failed to set history limit";
SITE_INITIALIZATION_FAILEDโ
readonly SITE_INITIALIZATION_FAILED: "[SiteManager] Failed to initialize cache" = "[SiteManager] Failed to initialize cache";
SITE_MAPPER_FAILEDโ
readonly SITE_MAPPER_FAILED: "[SiteMapper] Failed to map database row to site" = "[SiteMapper] Failed to map database row to site";
SITE_MONITOR_REMOVAL_FAILEDโ
readonly SITE_MONITOR_REMOVAL_FAILED: "[SiteManager] Failed to remove monitor {monitorId} from site {siteIdentifier}" = "[SiteManager] Failed to remove monitor {monitorId} from site {siteIdentifier}";
servicesโ
readonly services: {
APPLICATION_ACTIVATED: "[ApplicationService] App activated";
APPLICATION_CLEANUP_COMPLETE: "[ApplicationService] Cleanup completed";
APPLICATION_CLEANUP_START: "[ApplicationService] Starting cleanup";
APPLICATION_CREATING_WINDOW: "[ApplicationService] No windows open, creating main window";
APPLICATION_INITIALIZING: "[ApplicationService] Initializing application services";
APPLICATION_QUITTING: "[ApplicationService] Quitting app (non-macOS)";
APPLICATION_READY: "[ApplicationService] App ready - initializing services";
APPLICATION_SERVICES_INITIALIZED: "[ApplicationService] All services initialized successfully";
APPLICATION_WINDOWS_CLOSED: "[ApplicationService] All windows closed";
DATABASE_BACKUP_CREATED: "[DatabaseBackup] Database backup created successfully";
DATABASE_CONNECTION_CLOSED: "[DatabaseService] Database connection closed safely";
DATABASE_INDEXES_CREATED: "[DatabaseSchema] All indexes created successfully";
DATABASE_INITIALIZED: "[DatabaseService] Database initialized successfully";
DATABASE_LOCK_RECOVERY_NO_ARTIFACTS: "[DatabaseService] No stale lock artifacts detected during recovery attempt {attempt}";
DATABASE_LOCK_RECOVERY_RELOCATED: "[DatabaseService] Relocated {count} stale lock artifact(s) blocking initialization";
DATABASE_MONITOR_VALIDATION_INITIALIZED: "[DatabaseSchema] Monitor type validation initialized";
DATABASE_MONITOR_VALIDATION_READY: "[DatabaseSchema] Monitor type validation framework ready";
DATABASE_SCHEMA_CREATED: "[DatabaseSchema] Database schema created successfully";
DATABASE_TABLES_CREATED: "[DatabaseSchema] All tables created successfully";
IPC_DELETE_ALL_SITES_COMPLETED: "[IpcService] delete-all-sites completed, deleted {deletedCount} site(s)";
IPC_DELETE_ALL_SITES_HANDLER_CALLED: "[IpcService] delete-all-sites handler invoked";
IPC_SERVICE_CLEANUP: "[IpcService] Cleaning up IPC handlers";
MONITOR_MANAGER_APPLYING_INTERVALS: "[MonitorManager] Completed applying default intervals for site: {identifier}";
MONITOR_MANAGER_AUTO_STARTING: "[MonitorManager] Completed auto-starting monitoring for site: {identifier}";
MONITOR_REMOVED_FROM_SITE: "[SiteManager] Monitor {monitorId} removed from site {siteIdentifier}";
MONITOR_STARTED: "Started monitoring for monitor {monitorId} on site {siteIdentifier}";
MONITOR_STOPPED: "Stopped monitoring for monitor {monitorId} on site {siteIdentifier}";
SITE_ADDED_SUCCESS: "Site added successfully: {identifier} ({name})";
SITE_MANAGER_INITIALIZED: "[SiteManager] Initialized with {count} sites in cache";
SITE_MANAGER_INITIALIZED_WITH_CACHE: "[SiteManager] Initialized with StandardizedCache";
SITE_MANAGER_LOADING_CACHE: "[SiteManager] Initializing - loading sites into cache";
UPDATER_QUIT_INSTALL: "[AutoUpdaterService] Quitting and installing update";
};
Defined in: shared/utils/logTemplates.ts:425
APPLICATION_ACTIVATEDโ
readonly APPLICATION_ACTIVATED: "[ApplicationService] App activated" = "[ApplicationService] App activated";
Application activated
APPLICATION_CLEANUP_COMPLETEโ
readonly APPLICATION_CLEANUP_COMPLETE: "[ApplicationService] Cleanup completed" = "[ApplicationService] Cleanup completed";
Application cleanup completed
APPLICATION_CLEANUP_STARTโ
readonly APPLICATION_CLEANUP_START: "[ApplicationService] Starting cleanup" = "[ApplicationService] Starting cleanup";
Application cleanup started
APPLICATION_CREATING_WINDOWโ
readonly APPLICATION_CREATING_WINDOW: "[ApplicationService] No windows open, creating main window" = "[ApplicationService] No windows open, creating main window";
Application creating window
APPLICATION_INITIALIZINGโ
readonly APPLICATION_INITIALIZING: "[ApplicationService] Initializing application services" = "[ApplicationService] Initializing application services";
Application service initialization
APPLICATION_QUITTINGโ
readonly APPLICATION_QUITTING: "[ApplicationService] Quitting app (non-macOS)" = "[ApplicationService] Quitting app (non-macOS)";
Application quitting
APPLICATION_READYโ
readonly APPLICATION_READY: "[ApplicationService] App ready - initializing services" = "[ApplicationService] App ready - initializing services";
Application app ready
APPLICATION_SERVICES_INITIALIZEDโ
readonly APPLICATION_SERVICES_INITIALIZED: "[ApplicationService] All services initialized successfully" = "[ApplicationService] All services initialized successfully";
Application services initialized
APPLICATION_WINDOWS_CLOSEDโ
readonly APPLICATION_WINDOWS_CLOSED: "[ApplicationService] All windows closed" = "[ApplicationService] All windows closed";
Application all windows closed
DATABASE_BACKUP_CREATEDโ
readonly DATABASE_BACKUP_CREATED: "[DatabaseBackup] Database backup created successfully" = "[DatabaseBackup] Database backup created successfully";
Database backup created
DATABASE_CONNECTION_CLOSEDโ
readonly DATABASE_CONNECTION_CLOSED: "[DatabaseService] Database connection closed safely" = "[DatabaseService] Database connection closed safely";
Database connection closed
DATABASE_INDEXES_CREATEDโ
readonly DATABASE_INDEXES_CREATED: "[DatabaseSchema] All indexes created successfully" = "[DatabaseSchema] All indexes created successfully";
Database indexes created
DATABASE_INITIALIZEDโ
readonly DATABASE_INITIALIZED: "[DatabaseService] Database initialized successfully" = "[DatabaseService] Database initialized successfully";
Database initialized successfully
DATABASE_LOCK_RECOVERY_NO_ARTIFACTSโ
readonly DATABASE_LOCK_RECOVERY_NO_ARTIFACTS: "[DatabaseService] No stale lock artifacts detected during recovery attempt {attempt}" = "[DatabaseService] No stale lock artifacts detected during recovery attempt {attempt}";
Database recovery performed without finding artifacts
DATABASE_LOCK_RECOVERY_RELOCATEDโ
readonly DATABASE_LOCK_RECOVERY_RELOCATED: "[DatabaseService] Relocated {count} stale lock artifact(s) blocking initialization" = "[DatabaseService] Relocated {count} stale lock artifact(s) blocking initialization";
Database recovered by relocating stale lock artifacts
DATABASE_MONITOR_VALIDATION_INITIALIZEDโ
readonly DATABASE_MONITOR_VALIDATION_INITIALIZED: "[DatabaseSchema] Monitor type validation initialized" = "[DatabaseSchema] Monitor type validation initialized";
Database monitor validation initialized
DATABASE_MONITOR_VALIDATION_READYโ
readonly DATABASE_MONITOR_VALIDATION_READY: "[DatabaseSchema] Monitor type validation framework ready" = "[DatabaseSchema] Monitor type validation framework ready";
Database monitor validation ready
DATABASE_SCHEMA_CREATEDโ
readonly DATABASE_SCHEMA_CREATED: "[DatabaseSchema] Database schema created successfully" = "[DatabaseSchema] Database schema created successfully";
Database schema created
DATABASE_TABLES_CREATEDโ
readonly DATABASE_TABLES_CREATED: "[DatabaseSchema] All tables created successfully" = "[DatabaseSchema] All tables created successfully";
Database tables created
IPC_DELETE_ALL_SITES_COMPLETEDโ
readonly IPC_DELETE_ALL_SITES_COMPLETED: "[IpcService] delete-all-sites completed, deleted {deletedCount} site(s)" = "[IpcService] delete-all-sites completed, deleted {deletedCount} site(s)";
Delete-all-sites IPC handler completed
IPC_DELETE_ALL_SITES_HANDLER_CALLEDโ
readonly IPC_DELETE_ALL_SITES_HANDLER_CALLED: "[IpcService] delete-all-sites handler invoked" = "[IpcService] delete-all-sites handler invoked";
Delete-all-sites IPC handler invoked
IPC_SERVICE_CLEANUPโ
readonly IPC_SERVICE_CLEANUP: "[IpcService] Cleaning up IPC handlers" = "[IpcService] Cleaning up IPC handlers";
IPC service cleanup
MONITOR_MANAGER_APPLYING_INTERVALSโ
readonly MONITOR_MANAGER_APPLYING_INTERVALS: "[MonitorManager] Completed applying default intervals for site: {identifier}" = "[MonitorManager] Completed applying default intervals for site: {identifier}";
Monitor manager applying intervals
MONITOR_MANAGER_AUTO_STARTINGโ
readonly MONITOR_MANAGER_AUTO_STARTING: "[MonitorManager] Completed auto-starting monitoring for site: {identifier}" = "[MonitorManager] Completed auto-starting monitoring for site: {identifier}";
Monitor manager auto-starting
MONITOR_REMOVED_FROM_SITEโ
readonly MONITOR_REMOVED_FROM_SITE: "[SiteManager] Monitor {monitorId} removed from site {siteIdentifier}" = "[SiteManager] Monitor {monitorId} removed from site {siteIdentifier}";
Monitor removed from site
MONITOR_STARTEDโ
readonly MONITOR_STARTED: "Started monitoring for monitor {monitorId} on site {siteIdentifier}" = "Started monitoring for monitor {monitorId} on site {siteIdentifier}";
Monitor started
MONITOR_STOPPEDโ
readonly MONITOR_STOPPED: "Stopped monitoring for monitor {monitorId} on site {siteIdentifier}" = "Stopped monitoring for monitor {monitorId} on site {siteIdentifier}";
Monitor stopped
SITE_ADDED_SUCCESSโ
readonly SITE_ADDED_SUCCESS: "Site added successfully: {identifier} ({name})" = "Site added successfully: {identifier} ({name})";
Site added successfully
SITE_MANAGER_INITIALIZEDโ
readonly SITE_MANAGER_INITIALIZED: "[SiteManager] Initialized with {count} sites in cache" = "[SiteManager] Initialized with {count} sites in cache";
Site manager initialized
SITE_MANAGER_INITIALIZED_WITH_CACHEโ
readonly SITE_MANAGER_INITIALIZED_WITH_CACHE: "[SiteManager] Initialized with StandardizedCache" = "[SiteManager] Initialized with StandardizedCache";
Site manager initialized with cache
SITE_MANAGER_LOADING_CACHEโ
readonly SITE_MANAGER_LOADING_CACHE: "[SiteManager] Initializing - loading sites into cache" = "[SiteManager] Initializing - loading sites into cache";
Site manager cache loading
UPDATER_QUIT_INSTALLโ
readonly UPDATER_QUIT_INSTALL: "[AutoUpdaterService] Quitting and installing update" = "[AutoUpdaterService] Quitting and installing update";
Auto updater messages
warningsโ
readonly warnings: {
APPLICATION_MONITOR_FAILURE: "[ApplicationService] Monitor failure detected - sending desktop notification";
DATABASE_BUSY_TIMEOUT_PRAGMA_FAILED: "[DatabaseService] Failed to apply PRAGMA busy_timeout";
DATABASE_CLOSE_DURING_FAILURE_FAILED: "[DatabaseService] Failed to close database connection during recovery cleanup";
DATABASE_FOREIGN_KEYS_PRAGMA_FAILED: "[DatabaseService] Failed to enable PRAGMA foreign_keys";
DATABASE_LOCK_DETECTED: "[DatabaseService] Database locked during initialization (attempt {attempt})";
DATABASE_LOCK_RECOVERY_FAILED: "[DatabaseService] Failed to relocate some stale lock artifacts";
DATABASE_MONITOR_VALIDATION_CONTINUE: "[DatabaseSchema] Continuing without monitor type validation";
DATABASE_MONITOR_VALIDATION_MISSING: "[DatabaseSchema] No monitor types registered - validation will allow any type";
HISTORY_INVALID_STATUS: "[HistoryMapper] Invalid status value, defaulting to 'down'";
MONITOR_ACTIVE_OPERATIONS_INVALID: "active_operations contains invalid or unsafe data, using empty array";
MONITOR_ACTIVE_OPERATIONS_PARSE_FAILED: "Failed to parse active_operations, using empty array";
MONITOR_CONFIG_UPDATE_FAILED_INSTANCE: "Failed to update config for monitor instance";
MONITOR_CONFIG_UPDATE_FAILED_TYPE: "Failed to update config for monitor type {type}";
MONITOR_FRESH_DATA_MISSING: "Fresh monitor data not found for {monitorId}";
MONITOR_NOT_FOUND_CACHE: "Monitor {monitorId} not found, ignoring result";
MONITOR_NOT_MONITORING: "Monitor {monitorId} no longer monitoring, ignoring result";
MONITOR_TYPE_UNKNOWN_CHECK: "Unknown monitor type: {monitorType}";
MONITOR_TYPE_UNKNOWN_DETAIL: "Unknown monitor type for detail formatting";
MONITOR_TYPE_UNKNOWN_TITLE: "Unknown monitor type for title suffix formatting";
NOTIFICATIONS_UNSUPPORTED: "Notifications not supported on this platform";
OPERATION_TIMEOUT: "Operation {operationId} timed out, cancelling";
RECURSIVE_CALL_PREVENTED: "Preventing recursive call for {identifier}/{monitorId}";
SITE_NOT_FOUND_MANUAL: "Site {identifier} not found or has no monitors for manual check";
SITE_NOT_FOUND_SCHEDULED: "Site {siteIdentifier} not found in cache for scheduled check";
};
Defined in: shared/utils/logTemplates.ts:426
APPLICATION_MONITOR_FAILUREโ
readonly APPLICATION_MONITOR_FAILURE: "[ApplicationService] Monitor failure detected - sending desktop notification" = "[ApplicationService] Monitor failure detected - sending desktop notification";
Application warnings
DATABASE_BUSY_TIMEOUT_PRAGMA_FAILEDโ
readonly DATABASE_BUSY_TIMEOUT_PRAGMA_FAILED: "[DatabaseService] Failed to apply PRAGMA busy_timeout" = "[DatabaseService] Failed to apply PRAGMA busy_timeout";
DATABASE_CLOSE_DURING_FAILURE_FAILEDโ
readonly DATABASE_CLOSE_DURING_FAILURE_FAILED: "[DatabaseService] Failed to close database connection during recovery cleanup" = "[DatabaseService] Failed to close database connection during recovery cleanup";
DATABASE_FOREIGN_KEYS_PRAGMA_FAILEDโ
readonly DATABASE_FOREIGN_KEYS_PRAGMA_FAILED: "[DatabaseService] Failed to enable PRAGMA foreign_keys" = "[DatabaseService] Failed to enable PRAGMA foreign_keys";
DATABASE_LOCK_DETECTEDโ
readonly DATABASE_LOCK_DETECTED: "[DatabaseService] Database locked during initialization (attempt {attempt})" = "[DatabaseService] Database locked during initialization (attempt {attempt})";
DATABASE_LOCK_RECOVERY_FAILEDโ
readonly DATABASE_LOCK_RECOVERY_FAILED: "[DatabaseService] Failed to relocate some stale lock artifacts" = "[DatabaseService] Failed to relocate some stale lock artifacts";
DATABASE_MONITOR_VALIDATION_CONTINUEโ
readonly DATABASE_MONITOR_VALIDATION_CONTINUE: "[DatabaseSchema] Continuing without monitor type validation" = "[DatabaseSchema] Continuing without monitor type validation";
Database warnings
DATABASE_MONITOR_VALIDATION_MISSINGโ
readonly DATABASE_MONITOR_VALIDATION_MISSING: "[DatabaseSchema] No monitor types registered - validation will allow any type" = "[DatabaseSchema] No monitor types registered - validation will allow any type";
HISTORY_INVALID_STATUSโ
readonly HISTORY_INVALID_STATUS: "[HistoryMapper] Invalid status value, defaulting to 'down'" = "[HistoryMapper] Invalid status value, defaulting to 'down'";
History warnings
MONITOR_ACTIVE_OPERATIONS_INVALIDโ
readonly MONITOR_ACTIVE_OPERATIONS_INVALID: "active_operations contains invalid or unsafe data, using empty array" = "active_operations contains invalid or unsafe data, using empty array";
Monitor warnings
MONITOR_ACTIVE_OPERATIONS_PARSE_FAILEDโ
readonly MONITOR_ACTIVE_OPERATIONS_PARSE_FAILED: "Failed to parse active_operations, using empty array" = "Failed to parse active_operations, using empty array";
MONITOR_CONFIG_UPDATE_FAILED_INSTANCEโ
readonly MONITOR_CONFIG_UPDATE_FAILED_INSTANCE: "Failed to update config for monitor instance" = "Failed to update config for monitor instance";
MONITOR_CONFIG_UPDATE_FAILED_TYPEโ
readonly MONITOR_CONFIG_UPDATE_FAILED_TYPE: "Failed to update config for monitor type {type}" = "Failed to update config for monitor type {type}";
MONITOR_FRESH_DATA_MISSINGโ
readonly MONITOR_FRESH_DATA_MISSING: "Fresh monitor data not found for {monitorId}" = "Fresh monitor data not found for {monitorId}";
MONITOR_NOT_FOUND_CACHEโ
readonly MONITOR_NOT_FOUND_CACHE: "Monitor {monitorId} not found, ignoring result" = "Monitor {monitorId} not found, ignoring result";
MONITOR_NOT_MONITORINGโ
readonly MONITOR_NOT_MONITORING: "Monitor {monitorId} no longer monitoring, ignoring result" = "Monitor {monitorId} no longer monitoring, ignoring result";
MONITOR_TYPE_UNKNOWN_CHECKโ
readonly MONITOR_TYPE_UNKNOWN_CHECK: "Unknown monitor type: {monitorType}" = "Unknown monitor type: {monitorType}";
MONITOR_TYPE_UNKNOWN_DETAILโ
readonly MONITOR_TYPE_UNKNOWN_DETAIL: "Unknown monitor type for detail formatting" = "Unknown monitor type for detail formatting";
MONITOR_TYPE_UNKNOWN_TITLEโ
readonly MONITOR_TYPE_UNKNOWN_TITLE: "Unknown monitor type for title suffix formatting" = "Unknown monitor type for title suffix formatting";
NOTIFICATIONS_UNSUPPORTEDโ
readonly NOTIFICATIONS_UNSUPPORTED: "Notifications not supported on this platform" = "Notifications not supported on this platform";
Notification warnings
OPERATION_TIMEOUTโ
readonly OPERATION_TIMEOUT: "Operation {operationId} timed out, cancelling" = "Operation {operationId} timed out, cancelling";
Operation warnings
RECURSIVE_CALL_PREVENTEDโ
readonly RECURSIVE_CALL_PREVENTED: "Preventing recursive call for {identifier}/{monitorId}" = "Preventing recursive call for {identifier}/{monitorId}";
SITE_NOT_FOUND_MANUALโ
readonly SITE_NOT_FOUND_MANUAL: "Site {identifier} not found or has no monitors for manual check" = "Site {identifier} not found or has no monitors for manual check";
Site not found warnings
SITE_NOT_FOUND_SCHEDULEDโ
readonly SITE_NOT_FOUND_SCHEDULED: "Site {siteIdentifier} not found in cache for scheduled check" = "Site {siteIdentifier} not found in cache for scheduled check";