🔧 System Utility

📋 Application Logs

Available Log Files:

error.log api_2026-02-25.log api_2026-02-14.log api_2026-02-05.log api_2026-02-04.log api_2026-02-03.log api_2026-01-27.log api_2026-01-25.log api_2026-01-24.log api_2026-01-23.log api_2026-01-21.log api_2026-01-19.log api_2026-01-18.log api_2026-01-17.log api_2026-01-14.log api_2026-01-13.log api_2026-01-12.log api_2026-01-10.log api_2026-01-09.log api_2026-01-08.log api_2026-01-07.log 2026-02-25.log 2026-02-23.log 2026-02-17.log 2026-02-16.log 2026-02-14.log 2026-02-12.log 2026-02-10.log 2026-02-09.log 2026-02-08.log 2026-02-07.log 2026-02-06.log 2026-02-05.log 2026-02-04.log 2026-02-03.log 2026-02-02.log 2026-01-31.log 2026-01-29.log 2026-01-28.log 2026-01-27.log 2026-01-26.log 2026-01-25.log 2026-01-24.log 2026-01-23.log 2026-01-22.log 2026-01-21.log 2026-01-20.log 2026-01-19.log 2026-01-18.log 2026-01-17.log 2026-01-16.log 2026-01-14.log 2026-01-13.log 2026-01-12.log 2026-01-11.log 2026-01-10.log 2026-01-09.log 2026-01-08.log 2026-01-07.log

Contents of: 2026-02-04.log

[2026-02-04 20:31:33] [DEBUG] Webhook received: {"customer_name": "Suvranil Nath", "sender": "919830946010", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-02-04 15:01:33", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3RjI2MUVDRTI2MzE4NEZFRUZGNDBFNTBGQThERTcA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Suvranil Nath"}, "wa_id": "919830946010"}], "messages": [{"from": "919830946010", "id": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3RjI2MUVDRTI2MzE4NEZFRUZGNDBFNTBGQThERTcA", "timestamp": "1770217290", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null} [2026-02-04 20:31:33] [INFO] Processing message from 919830946010: EXPLAIN [2026-02-04 20:31:33] [INFO] Sending upload button to 919830946010 [2026-02-04 20:31:33] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-04 20:31:33] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919830946010","interactive":{"type":"cta_url","body":{"text":"Hello Suvranil Nath! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=919830946010&name=Suvranil+Nath"}}}} [2026-02-04 20:31:33] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "1e3a7e17466c44388b6b3b5cc9f8f734", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-04 20:31:34] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-04T20:31:33+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3RjI2MUVDRTI2MzE4NEZFRUZGNDBFNTBGQThERTcA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3RjI2MUVDRTI2MzE4NEZFRUZGNDBFNTBGQThERTcA\",\"timestamp\":\"1770217290\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-02-04T20:31:34+05:30"} [2026-02-04 20:31:34] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3RjI2MUVDRTI2MzE4NEZFRUZGNDBFNTBGQThERTcA [2026-02-04 20:31:34] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-04T20:31:33+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3RjI2MUVDRTI2MzE4NEZFRUZGNDBFNTBGQThERTcA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3RjI2MUVDRTI2MzE4NEZFRUZGNDBFNTBGQThERTcA\",\"timestamp\":\"1770217290\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-02-04T20:31:34+05:30"} [2026-02-04 20:31:34] [DEBUG] Ignoring event: delivered [2026-02-04 20:35:20] Upload started - Phone: 919830946010, Lang: en [2026-02-04 20:35:20] File saved: rx_69836030684e6.jpg [2026-02-04 20:35:20] Serial: 260204001, Starting OpenAI... [2026-02-04 20:35:51] OpenAI success for 260204001 [2026-02-04 20:35:51] Saved to DB: prescription 57 [2026-02-04 20:37:10] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-04 20:37:10] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260204001\n\ud83d\udcc5 *Date:* 04 Feb 2026\n\u23f0 *Time:* 10:00 AM\n\ud83d\udd2c *Tests:* CBC, Widal Test\n\nYou will receive updates on WhatsApp."} [2026-02-04 20:37:10] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "e2c50ae3df0348a183b07cca2df897c7", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-04 20:37:15] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-04 20:37:15] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=919830946010"} [2026-02-04 20:37:15] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "f88de34210bb447ca45d4baf8f2bdbae", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-04 20:40:22] [DEBUG] Webhook received: {"customer_name": "TECHNOWARE", "sender": "919831100758", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-02-04 15:10:21", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAwNzU4FQIAEhggQTVGQjBCQjI4NDAzM0FBQkY4QjA5MUM5NzQxNzE3REEA", "direction": 0, "text": "Hi", "contacts": [{"profile": {"name": "TECHNOWARE"}, "wa_id": "919831100758"}], "messages": [{"from": "919831100758", "id": "wamid.HBgMOTE5ODMxMTAwNzU4FQIAEhggQTVGQjBCQjI4NDAzM0FBQkY4QjA5MUM5NzQxNzE3REEA", "timestamp": "1770217818", "text": {"body": "Hi"}, "type": "text"}], "template_name": null, "template_language": null} [2026-02-04 20:40:22] [INFO] Processing message from 919831100758: Hi [2026-02-04 20:40:22] [INFO] Sending upload button to 919831100758 [2026-02-04 20:40:22] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-04 20:40:22] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919831100758","interactive":{"type":"cta_url","body":{"text":"Hello TECHNOWARE! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=919831100758&name=TECHNOWARE"}}}} [2026-02-04 20:40:22] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "06aae7167ac34b3ea41f740a396b6068", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-04 20:40:26] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-04T20:40:21+05:30","customerNumber":"919831100758","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAwNzU4FQIAEhggQTVGQjBCQjI4NDAzM0FBQkY4QjA5MUM5NzQxNzE3REEA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"TECHNOWARE","contentType":"text","text":"Hi","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"TECHNOWARE\"},\"wa_id\":\"919831100758\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831100758\",\"id\":\"wamid.HBgMOTE5ODMxMTAwNzU4FQIAEhggQTVGQjBCQjI4NDAzM0FBQkY4QjA5MUM5NzQxNzE3REEA\",\"timestamp\":\"1770217818\",\"text\":{\"body\":\"Hi\"},\"type\":\"text\"}]","ts":"2026-02-04T20:40:25+05:30"} [2026-02-04 20:40:26] [DEBUG] Ignoring event: delivered [2026-02-04 20:40:30] [DEBUG] Webhook received: {"customer_name": "Suvranil Nath", "sender": "919830946010", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-02-04 15:10:30", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNDNUQ2OTU1MEEzOTg1RjRCMEI3OEUxQjY0RDBCMjkA", "direction": 0, "text": "Hello", "contacts": [{"profile": {"name": "Suvranil Nath"}, "wa_id": "919830946010"}], "messages": [{"from": "919830946010", "id": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNDNUQ2OTU1MEEzOTg1RjRCMEI3OEUxQjY0RDBCMjkA", "timestamp": "1770217828", "text": {"body": "Hello"}, "type": "text"}], "template_name": null, "template_language": null} [2026-02-04 20:40:30] [INFO] Processing message from 919830946010: Hello [2026-02-04 20:40:30] [INFO] Sending upload button to 919830946010 [2026-02-04 20:40:30] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-04 20:40:30] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919830946010","interactive":{"type":"cta_url","body":{"text":"Hello Suvranil Nath! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=919830946010&name=Suvranil+Nath"}}}} [2026-02-04 20:40:31] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "926825cc862141cc8d0feda27327d0a4", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-04 20:40:34] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-04T20:40:30+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNDNUQ2OTU1MEEzOTg1RjRCMEI3OEUxQjY0RDBCMjkA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"Hello","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNDNUQ2OTU1MEEzOTg1RjRCMEI3OEUxQjY0RDBCMjkA\",\"timestamp\":\"1770217828\",\"text\":{\"body\":\"Hello\"},\"type\":\"text\"}]","ts":"2026-02-04T20:40:33+05:30"} [2026-02-04 20:40:34] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNDNUQ2OTU1MEEzOTg1RjRCMEI3OEUxQjY0RDBCMjkA [2026-02-04 20:40:34] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-04T20:40:30+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNDNUQ2OTU1MEEzOTg1RjRCMEI3OEUxQjY0RDBCMjkA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"Hello","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUNDNUQ2OTU1MEEzOTg1RjRCMEI3OEUxQjY0RDBCMjkA\",\"timestamp\":\"1770217828\",\"text\":{\"body\":\"Hello\"},\"type\":\"text\"}]","ts":"2026-02-04T20:40:33+05:30"} [2026-02-04 20:40:34] [DEBUG] Ignoring event: delivered [2026-02-04 20:40:45] [DEBUG] Webhook received: {"customer_name": "TECHNOWARE", "sender": "919831100758", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-02-04 15:10:45", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAwNzU4FQIAEhggQTUxQjdGNjA0NzdFNzNCQzU4RTcxQ0E1NDBDRTcwMEUA", "direction": 0, "text": "Ok", "contacts": [{"profile": {"name": "TECHNOWARE"}, "wa_id": "919831100758"}], "messages": [{"from": "919831100758", "id": "wamid.HBgMOTE5ODMxMTAwNzU4FQIAEhggQTUxQjdGNjA0NzdFNzNCQzU4RTcxQ0E1NDBDRTcwMEUA", "timestamp": "1770217843", "text": {"body": "Ok"}, "type": "text"}], "template_name": null, "template_language": null} [2026-02-04 20:40:45] [INFO] Processing message from 919831100758: Ok [2026-02-04 20:40:45] [INFO] Sending instructions to 919831100758 [2026-02-04 20:40:45] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/ [2026-02-04 20:40:45] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831100758","text":"Hi! To get your prescription explained, please send:\n\nEXPLAIN\n\nI'll send you a link to upload your prescription."} [2026-02-04 20:40:45] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "85ccb963c0a74819bb1499a8d33b4a2e", "message": "Your request is in process, please check delivery report for status"}, "errors": null} [2026-02-04 20:40:47] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-04T20:40:45+05:30","customerNumber":"919831100758","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAwNzU4FQIAEhggQTUxQjdGNjA0NzdFNzNCQzU4RTcxQ0E1NDBDRTcwMEUA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"TECHNOWARE","contentType":"text","text":"Ok","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"TECHNOWARE\"},\"wa_id\":\"919831100758\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831100758\",\"id\":\"wamid.HBgMOTE5ODMxMTAwNzU4FQIAEhggQTUxQjdGNjA0NzdFNzNCQzU4RTcxQ0E1NDBDRTcwMEUA\",\"timestamp\":\"1770217843\",\"text\":{\"body\":\"Ok\"},\"type\":\"text\"}]","ts":"2026-02-04T20:40:46+05:30"} [2026-02-04 20:40:47] [DEBUG] Ignoring event: delivered [2026-02-04 20:40:47] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-04T20:40:45+05:30","customerNumber":"919831100758","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMxMTAwNzU4FQIAEhggQTUxQjdGNjA0NzdFNzNCQzU4RTcxQ0E1NDBDRTcwMEUA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"TECHNOWARE","contentType":"text","text":"Ok","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"TECHNOWARE\"},\"wa_id\":\"919831100758\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831100758\",\"id\":\"wamid.HBgMOTE5ODMxMTAwNzU4FQIAEhggQTUxQjdGNjA0NzdFNzNCQzU4RTcxQ0E1NDBDRTcwMEUA\",\"timestamp\":\"1770217843\",\"text\":{\"body\":\"Ok\"},\"type\":\"text\"}]","ts":"2026-02-04T20:40:46+05:30"} [2026-02-04 20:40:47] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMxMTAwNzU4FQIAEhggQTUxQjdGNjA0NzdFNzNCQzU4RTcxQ0E1NDBDRTcwMEUA

🗑️ Clear This Log
← Back to Menu

⚠️ SECURITY WARNING: Delete this file (utility.php) after you're done with setup and testing!