| 18:40:45.560 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 18:40:45.560 | trace | yii\base\Module::getModule | Loading module: debug |
| 18:40:45.561 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 18:40:45.561 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 18:40:45.561 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 18:40:45.562 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:45.562 | info | time tracing start | 1780310445562302976 |
| 18:40:45.562 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 18:40:45.562 | trace | yii\web\Application::handleRequest | Route requested: 'v2/schedule/of-client' |
| 18:40:45.562 | trace | yii\base\Module::getModule | Loading module: v2 |
| 18:40:45.655 | info | yii\web\Session::open | Session started |
| 18:40:45.656 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 18:40:45.656 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='QKDY_CpNUpX4m5jisn-MMZOAmIh4LXYL' |
| 18:40:45.658 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:45.658 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:40:45.659 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:45.660 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:40:45.660 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
| 18:40:45.660 | trace | yii\base\Controller::runAction | Route to run: v2/schedule/of-client |
| 18:40:45.661 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:45.662 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 18:40:45.662 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ScheduleController::actionOfClient() |
| 18:40:45.662 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3424') AND ("deleted"=FALSE) |
| 18:40:45.664 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:45.666 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:40:45.668 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:45.669 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:40:45.671 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT
s.*,
CASE WHEN is_complete = true then 3
WHEN is_complete = false and end_at <= NOW() then 2
else 1 END AS sort
FROM "a57be577deb434"."tbl_schedules" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.created_by LEFT JOIN "a57be577deb434"."tbl_clients" "c" ON c.id = s.client_id LEFT JOIN "a57be577deb434"."tbl_schedule_carbon_copy_rels" "ccr" ON ccr.schedule_id = s.id WHERE (1=1) AND ("s"."client_id"=3424) AND ((("s"."is_public"=1) AND ("s"."created_by" != 5064)) OR ("s"."created_by"=5064) OR ("ccr"."user_id"=5064)) GROUP BY "s"."id" ORDER BY "s"."is_complete", "s"."end_at" DESC, "s"."created_at" DESC) "c" |
| 18:40:45.675 | info | yii\db\Command::query | SELECT
s.*,
CASE WHEN is_complete = true then 3
WHEN is_complete = false and end_at <= NOW() then 2
else 1 END AS sort
FROM "a57be577deb434"."tbl_schedules" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.created_by LEFT JOIN "a57be577deb434"."tbl_clients" "c" ON c.id = s.client_id LEFT JOIN "a57be577deb434"."tbl_schedule_carbon_copy_rels" "ccr" ON ccr.schedule_id = s.id WHERE (1=1) AND ("s"."client_id"=3424) AND ((("s"."is_public"=1) AND ("s"."created_by" != 5064)) OR ("s"."created_by"=5064) OR ("ccr"."user_id"=5064)) GROUP BY "s"."id" ORDER BY "s"."is_complete", "s"."end_at" DESC, "s"."created_at" DESC LIMIT 10 |
| 18:40:45.677 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:45.679 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:45.681 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:40:45.682 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:40:45.682 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 5064, 2, 1155, 'v2/schedule/of-client', '{"access_token":"QKDY_CpNUpX4m5jisn-MMZOAmIh4LXYL","device_type":"2","id":"3424","posttime":"1780310400","token":"e80cce3ee4e49108447fc013a832fe20","version_code":"1155"}', '{"code":200,"data":{"list":[],"pagenation":{"totalcount":0,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"223.104.44.100","ua":"jinchangxiao\/2.3.153 (iPhone 12; iOS 18.6.2; Scale\/3.00)"}', FALSE, '2026-06-01 18:40:45', 120404992) RETURNING "id" |