2026-05-03 17:52:16,777 - main - INFO - === Logging system initialized ===
2026-05-03 17:52:16,777 - main - INFO - Log file: logs/app_20260503_175216.log
2026-05-03 17:52:16,777 - main - INFO - Log level: INFO
2026-05-03 17:52:16,777 - main - INFO - Timestamp: 20260503_175216
2026-05-03 17:52:16,829 - main - INFO - Included router: routers.admin_dashboard.router
2026-05-03 17:52:16,863 - main - INFO - Included router: routers.admin_users.router
2026-05-03 17:52:16,900 - main - INFO - Included router: routers.agent_availability.router
2026-05-03 17:52:17,521 - main - INFO - Included router: routers.ai_ticket_summary.router
2026-05-03 17:52:17,539 - main - INFO - Included router: routers.aihub.router
2026-05-03 17:52:17,580 - main - INFO - Included router: routers.api_hub.router
2026-05-03 17:52:17,593 - main - INFO - Included router: routers.audit_log.router
2026-05-03 17:52:17,602 - main - INFO - Included router: routers.auth.router
2026-05-03 17:52:17,695 - main - INFO - Included router: routers.bizmail_admin.router
2026-05-03 17:52:17,762 - main - INFO - Included router: routers.bizmail_client.router
2026-05-03 17:52:17,766 - main - INFO - Included router: routers.bizmail_public.router
2026-05-03 17:52:17,781 - main - INFO - Included router: routers.cache_settings.router
2026-05-03 17:52:17,891 - main - INFO - Included router: routers.carts.router
2026-05-03 17:52:17,937 - main - INFO - Included router: routers.chat_analytics_daily.router
2026-05-03 17:52:17,977 - main - INFO - Included router: routers.chat_attachments.router
2026-05-03 17:52:18,040 - main - INFO - Included router: routers.chat_branding.router
2026-05-03 17:52:18,054 - main - INFO - Included router: routers.chat_branding_api.router
2026-05-03 17:52:18,107 - main - INFO - Included router: routers.chat_conversations.router
2026-05-03 17:52:18,150 - main - INFO - Included router: routers.chat_messages.router
2026-05-03 17:52:18,194 - main - INFO - Included router: routers.chat_routing_rules.router
2026-05-03 17:52:18,217 - main - INFO - Included router: routers.contact.router
2026-05-03 17:52:18,254 - main - INFO - Included router: routers.contact_inquiries.router
2026-05-03 17:52:18,503 - main - INFO - Included router: routers.cpanel_admin.router
2026-05-03 17:52:18,565 - main - INFO - Included router: routers.cpanel_client.router
2026-05-03 17:52:18,569 - main - INFO - Included router: routers.cpanel_public.router
2026-05-03 17:52:18,625 - main - INFO - Included router: routers.dhl_admin.router
2026-05-03 17:52:18,630 - main - INFO - Included router: routers.dhl_public.router
2026-05-03 17:52:18,671 - main - INFO - Included router: routers.ecom_checkout.router
2026-05-03 17:52:18,673 - main - INFO - Included router: routers.health.router
2026-05-03 17:52:18,715 - main - INFO - Included router: routers.kb_article_feedback.router
2026-05-03 17:52:18,760 - main - INFO - Included router: routers.kb_articles.router
2026-05-03 17:52:18,780 - main - INFO - Included router: routers.local_auth.router
2026-05-03 17:52:18,813 - main - INFO - Included router: routers.mfa.router
2026-05-03 17:52:18,872 - main - INFO - Included router: routers.module_sync.router
2026-05-03 17:52:18,916 - main - INFO - Included router: routers.notification_preferences.router
2026-05-03 17:52:18,961 - main - INFO - Included router: routers.notifications.router
2026-05-03 17:52:18,965 - main - INFO - Included router: routers.notifications_extras.router
2026-05-03 17:52:19,077 - main - INFO - Included router: routers.oauth.router
2026-05-03 17:52:19,228 - main - INFO - Included router: routers.order_items.router
2026-05-03 17:52:19,307 - main - INFO - Included router: routers.orders.router
2026-05-03 17:52:19,313 - main - INFO - Included router: routers.password_reset.router
2026-05-03 17:52:19,327 - main - INFO - Included router: routers.paypal_checkout.router
2026-05-03 17:52:19,372 - main - INFO - Included router: routers.plans.router
2026-05-03 17:52:19,415 - main - INFO - Included router: routers.presales_messages.router
2026-05-03 17:52:19,457 - main - INFO - Included router: routers.product_categories.router
2026-05-03 17:52:19,504 - main - INFO - Included router: routers.product_reviews.router
2026-05-03 17:52:19,569 - main - INFO - Included router: routers.products.router
2026-05-03 17:52:19,590 - main - INFO - Included router: routers.role_management.router
2026-05-03 17:52:19,636 - main - INFO - Included router: routers.service_testimonials.router
2026-05-03 17:52:19,657 - main - INFO - Included router: routers.settings.router
2026-05-03 17:52:19,695 - main - INFO - Included router: routers.site_settings.router
2026-05-03 17:52:19,733 - main - INFO - Included router: routers.smtp_settings.router
2026-05-03 17:52:19,769 - main - INFO - Included router: routers.storage.router
2026-05-03 17:52:19,878 - main - INFO - Included router: routers.support_chat.router
2026-05-03 17:52:19,914 - main - INFO - Included router: routers.support_departments.router
2026-05-03 17:52:20,082 - main - INFO - Included router: routers.support_seats.router
2026-05-03 17:52:20,095 - main - INFO - Included router: routers.ticket_notifications_sync.router
2026-05-03 17:52:20,133 - main - INFO - Included router: routers.ticket_summaries.router
2026-05-03 17:52:20,174 - main - INFO - Included router: routers.ticket_sync_states.router
2026-05-03 17:52:20,340 - main - INFO - Included router: routers.uptimerobot_admin.router
2026-05-03 17:52:20,407 - main - INFO - Included router: routers.uptimerobot_client.router
2026-05-03 17:52:20,415 - main - INFO - Included router: routers.uptimerobot_mcp.router
2026-05-03 17:52:20,422 - main - INFO - Included router: routers.user.router
2026-05-03 17:52:20,465 - main - INFO - Included router: routers.user_profiles.router
2026-05-03 17:52:20,502 - main - INFO - Included router: routers.user_roles.router
2026-05-03 17:52:20,593 - main - INFO - Included router: routers.visitor_monitor.router
2026-05-03 17:52:20,827 - main - INFO - Included router: routers.visitor_tracking.router
2026-05-03 17:52:20,948 - main - INFO - Included router: routers.whatsapp_admin.router
2026-05-03 17:52:20,969 - main - INFO - Included router: routers.whatsapp_ai.router
2026-05-03 17:52:21,011 - main - INFO - Included router: routers.whatsapp_analytics.router
2026-05-03 17:52:21,122 - main - INFO - Included router: routers.whatsapp_automation.router
2026-05-03 17:52:21,143 - main - INFO - Included router: routers.whatsapp_client.router
2026-05-03 17:52:21,147 - main - INFO - Included router: routers.whatsapp_client_ws.router
2026-05-03 17:52:21,170 - main - INFO - Included router: routers.whatsapp_contacts.router
2026-05-03 17:52:21,351 - main - INFO - Included router: routers.whatsapp_devices.router
2026-05-03 17:52:21,367 - main - INFO - Included router: routers.whmcs.router
2026-05-03 17:52:21,427 - main - INFO - Included router: routers.whmcs_admin.router
2026-05-03 17:52:21,464 - main - INFO - Included router: routers.whmcs_extra.router
2026-05-03 17:52:21,466 - main - INFO - === Application startup initiated ===
2026-05-03 17:52:21,466 - services.database - INFO - Ignore creating tables
2026-05-03 17:52:21,466 - services.mock_data - INFO - Ignore initialize data
2026-05-03 17:52:21,466 - services.auth - INFO - Ignore initialize admin
2026-05-03 17:52:21,466 - main - INFO - === Application startup completed successfully ===
2026-05-03 17:52:21,472 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:52:21,472 - core.database - WARNING - Database session maker not available, attempting lazy initialization...
2026-05-03 17:52:21,472 - core.database - WARNING - Database not initialized, attempting lazy initialization...
2026-05-03 17:52:21,473 - core.database - INFO - Starting database initialization...
2026-05-03 17:52:21,473 - core.config - DEBUG - Read dynamic attribute database_url from environment variable DATABASE_URL
2026-05-03 17:52:21,473 - core.database - INFO - Normalizing database URL for async compatibility...
2026-05-03 17:52:21,474 - core.database - INFO - Creating async database engine...
2026-05-03 17:52:21,474 - core.database - INFO - Using QueuePool with connection pooling for non-Lambda environment
2026-05-03 17:52:21,517 - core.database - INFO - Database engine created successfully
2026-05-03 17:52:21,517 - core.database - INFO - Creating async session maker...
2026-05-03 17:52:21,517 - core.database - INFO - Async session maker created successfully
2026-05-03 17:52:21,517 - core.database - INFO - Database connection initialized successfully
2026-05-03 17:52:21,517 - core.database - DEBUG - [DB_OP] Starting create_tables
2026-05-03 17:52:21,518 - core.database - INFO - 🔧 Starting table creation...
2026-05-03 17:52:27,960 - core.database - INFO - Tables initialized successfully
2026-05-03 17:52:27,960 - core.database - DEBUG - [DB_OP] Create tables completed in 6.4426s
2026-05-03 17:52:28,024 - core.database - INFO - Lazy database initialization completed successfully
2026-05-03 17:52:28,024 - core.database - DEBUG - [DB_OP] Database session created successfully in 6.5522s
2026-05-03 17:52:28,544 - core.database - DEBUG - [DB_OP] Database session cleanup after 7.0716s
2026-05-03 17:52:28,796 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:52:28,797 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0003s
2026-05-03 17:52:29,118 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3214s
2026-05-03 17:52:43,771 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:52:43,772 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0003s
2026-05-03 17:52:43,772 - core.config - DEBUG - Read dynamic attribute jwt_secret_key from environment variable JWT_SECRET_KEY
2026-05-03 17:52:43,772 - core.config - DEBUG - Read dynamic attribute jwt_algorithm from environment variable JWT_ALGORITHM
2026-05-03 17:52:43,780 - core.auth - DEBUG - Authentication token validated for user hash: f8ef80bf
2026-05-03 17:52:43,782 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:52:43,782 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0002s
2026-05-03 17:52:44,395 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.6133s
2026-05-03 17:52:44,634 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.8625s
2026-05-03 17:52:49,420 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:52:49,421 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 17:52:49,803 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3821s
2026-05-03 17:53:18,424 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:53:18,425 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 17:53:18,747 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3230s
2026-05-03 17:53:50,421 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:53:50,422 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0007s
2026-05-03 17:53:50,740 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3192s
2026-05-03 17:53:58,512 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:53:58,512 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 17:53:58,514 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:53:58,514 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0002s
2026-05-03 17:53:58,515 - core.auth - DEBUG - Authentication token validated for user hash: f8ef80bf
2026-05-03 17:53:58,834 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3225s
2026-05-03 17:53:59,345 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.8307s
2026-05-03 17:54:19,426 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:54:19,426 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0006s
2026-05-03 17:54:19,749 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3234s
2026-05-03 17:54:41,116 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:54:41,117 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0003s
2026-05-03 17:54:41,119 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:54:41,119 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0002s
2026-05-03 17:54:41,120 - core.auth - DEBUG - Authentication token validated for user hash: f8ef80bf
2026-05-03 17:54:41,436 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3199s
2026-05-03 17:54:41,700 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.5806s
2026-05-03 17:54:51,420 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:54:51,420 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 17:54:51,738 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3185s
2026-05-03 17:55:20,419 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:55:20,420 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 17:55:20,743 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3239s
2026-05-03 17:55:40,431 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:55:40,432 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0005s
2026-05-03 17:55:40,750 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3193s
2026-05-03 17:55:52,425 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:55:52,426 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 17:55:52,748 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3227s
2026-05-03 17:56:21,433 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:56:21,434 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0003s
2026-05-03 17:56:21,752 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3188s
2026-05-03 17:56:40,434 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:56:40,434 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0003s
2026-05-03 17:56:40,758 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3240s
2026-05-03 17:56:53,421 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:56:53,422 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0005s
2026-05-03 17:56:53,741 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3193s
2026-05-03 17:57:22,431 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:57:22,432 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 17:57:22,754 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3225s
2026-05-03 17:57:54,596 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:57:54,597 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0006s
2026-05-03 17:57:55,045 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.4482s
2026-05-03 17:58:09,444 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:58:09,444 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 17:58:09,894 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.4506s
2026-05-03 17:58:23,429 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:58:23,430 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 17:58:23,750 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3204s
2026-05-03 17:58:55,432 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:58:55,433 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0003s
2026-05-03 17:58:55,754 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3222s
2026-05-03 17:59:09,451 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:59:09,451 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0005s
2026-05-03 17:59:09,769 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3179s
2026-05-03 17:59:24,421 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:59:24,421 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0005s
2026-05-03 17:59:24,742 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3214s
2026-05-03 17:59:56,421 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 17:59:56,421 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0006s
2026-05-03 17:59:56,740 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3191s
2026-05-03 18:00:09,431 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:00:09,432 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 18:00:09,753 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3220s
2026-05-03 18:00:25,435 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:00:25,436 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0003s
2026-05-03 18:00:25,753 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3178s
2026-05-03 18:00:57,430 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:00:57,431 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0006s
2026-05-03 18:00:57,753 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3223s
2026-05-03 18:01:09,559 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:01:09,559 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0003s
2026-05-03 18:01:09,881 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3220s
2026-05-03 18:01:26,420 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:01:26,421 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 18:01:26,742 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3222s
2026-05-03 18:01:58,427 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:01:58,427 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0003s
2026-05-03 18:01:58,746 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3190s
2026-05-03 18:02:09,425 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:02:09,426 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 18:02:09,748 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3231s
2026-05-03 18:02:27,431 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:02:27,432 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0006s
2026-05-03 18:02:27,750 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3192s
2026-05-03 18:02:59,430 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:02:59,430 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0007s
2026-05-03 18:02:59,754 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3240s
2026-05-03 18:03:09,433 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:03:09,433 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0003s
2026-05-03 18:03:09,876 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.4432s
2026-05-03 18:03:28,423 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:03:28,424 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 18:03:28,874 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.4503s
2026-05-03 18:04:00,430 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:04:00,431 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0005s
2026-05-03 18:04:00,751 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3211s
2026-05-03 18:04:09,431 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:04:09,432 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 18:04:09,754 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3225s
2026-05-03 18:04:29,475 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 18:04:29,476 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 18:04:29,795 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3193s
2026-05-03 18:04:32,437 - services.database - DEBUG - [DB_OP] Starting database close
2026-05-03 18:04:32,571 - core.database - INFO - Database connection closed and engine disposed
2026-05-03 18:04:32,571 - services.database - INFO - Database connections closed
2026-05-03 18:04:32,572 - services.database - DEBUG - [DB_OP] Database close completed in 0.1352s
