Log Messages

总计32条数据
TimeLevelCategoryMessage
 
15:24:18.020traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
15:24:18.020traceyii\base\Module::getModuleLoading module: debug
15:24:18.020traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
15:24:18.020traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
15:24:18.021traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
15:24:18.021traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:24:18.021traceyii\base\Module::getModuleLoading module: gii
15:24:18.021traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
15:24:18.021traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
15:24:18.021traceyii\web\Application::handleRequestRoute requested: 'v2/project/list'
15:24:18.021traceyii\base\Module::getModuleLoading module: v2
15:24:18.021infoyii\web\Session::openSession started
15:24:18.022infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
15:24:18.024infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om'
15:24:18.027traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:24:18.027traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:24:18.027traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:24:18.027traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:24:18.027infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
15:24:18.029traceyii\base\Controller::runActionRoute to run: v2/project/list
15:24:18.029traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:24:18.030traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
15:24:18.030traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\ProjectController::actionList()
15:24:18.030traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:24:18.031traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:24:18.031traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:24:18.032traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:24:18.033infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT p.*, (p.budget / 100 * p.profit_pct) as profits, now() - status_updated_at as remain, now() - progress_updated_at as progress_remain, now() - forecast_updated_at as forecast_remain, extract(epoch from (now() - max(sl.end_at))) / 86400 AS lost_contact_days, max(sl.end_at) as last_contact, extract(epoch from (now() - max(arrive.end_at))) / 86400 AS last_arrive_days, max(arrive.end_at) as last_arrive, case when p.end_at IS NOT NULL THEN p.end_at - p.created_at ELSE now() - p.created_at END as duration, (SELECT sum(amount) FROM a57be577deb434.tbl_invoices i WHERE i.project_id = p.id) as issued_invoices FROM "a57be577deb434"."tbl_projects" "p" LEFT JOIN "a57be577deb434"."tbl_project_remind_receivers" "prr" ON prr.project_id = p.id LEFT JOIN "a57be577deb434"."tbl_clients" "c" ON p.client_id = c.id LEFT JOIN "a57be577deb434"."tbl_clients" "usedclient" ON p.used_client = usedclient.id LEFT JOIN "a57be577deb434"."tbl_sales_group_relationships" "sgr" ON sgr.sales_id = c.sales_rep LEFT JOIN "a57be577deb434"."tbl_work_logs" "arrive" ON (arrive.project_id = p.id) AND ("arrive"."scenario_id"=1) AND ("arrive"."is_draft"=FALSE) AND ("arrive"."location_in_id" IS NOT NULL) AND ("arrive"."location_out_id" IS NOT NULL) AND ("arrive"."client_id" IS NOT NULL) LEFT JOIN "a57be577deb434"."tbl_work_logs" "sl" ON sl.project_id = p.id LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "ttr" ON ttr.object_id = p.id AND ttr.term_id = 10 LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "ttr2" ON ttr2.object_id = p.id AND ttr2.term_id = 13 LEFT JOIN "a57be577deb434"."tbl_project_architects" "pa" ON "pa"."project_id" = "p"."id" LEFT JOIN "a57be577deb434"."tbl_engineer_group_relationships" "egr" ON egr.engineer_id = pa.engineer_id LEFT JOIN "a57be577deb434"."tbl_project_product_types" "pt" ON pt.project_id = p.id WHERE ("c"."deleted"=FALSE) AND (c.id is not null) AND ((c.sales_rep IS NULL) OR ("c"."sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5409, 5412, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("prr"."user_id"=1000) OR ("c"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))) AND ("p"."project_status"='1') AND ("pt"."product_type_id"='2') GROUP BY "p"."id" ORDER BY "p"."updated_at" DESC) "c"
15:24:18.041infoyii\db\Command::querySELECT p.*, (p.budget / 100 * p.profit_pct) as profits, now() - status_updated_at as remain, now() - progress_updated_at as progress_remain, now() - forecast_updated_at as forecast_remain, extract(epoch from (now() - max(sl.end_at))) / 86400 AS lost_contact_days, max(sl.end_at) as last_contact, extract(epoch from (now() - max(arrive.end_at))) / 86400 AS last_arrive_days, max(arrive.end_at) as last_arrive, case when p.end_at IS NOT NULL THEN p.end_at - p.created_at ELSE now() - p.created_at END as duration, (SELECT sum(amount) FROM a57be577deb434.tbl_invoices i WHERE i.project_id = p.id) as issued_invoices FROM "a57be577deb434"."tbl_projects" "p" LEFT JOIN "a57be577deb434"."tbl_project_remind_receivers" "prr" ON prr.project_id = p.id LEFT JOIN "a57be577deb434"."tbl_clients" "c" ON p.client_id = c.id LEFT JOIN "a57be577deb434"."tbl_clients" "usedclient" ON p.used_client = usedclient.id LEFT JOIN "a57be577deb434"."tbl_sales_group_relationships" "sgr" ON sgr.sales_id = c.sales_rep LEFT JOIN "a57be577deb434"."tbl_work_logs" "arrive" ON (arrive.project_id = p.id) AND ("arrive"."scenario_id"=1) AND ("arrive"."is_draft"=FALSE) AND ("arrive"."location_in_id" IS NOT NULL) AND ("arrive"."location_out_id" IS NOT NULL) AND ("arrive"."client_id" IS NOT NULL) LEFT JOIN "a57be577deb434"."tbl_work_logs" "sl" ON sl.project_id = p.id LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "ttr" ON ttr.object_id = p.id AND ttr.term_id = 10 LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "ttr2" ON ttr2.object_id = p.id AND ttr2.term_id = 13 LEFT JOIN "a57be577deb434"."tbl_project_architects" "pa" ON "pa"."project_id" = "p"."id" LEFT JOIN "a57be577deb434"."tbl_engineer_group_relationships" "egr" ON egr.engineer_id = pa.engineer_id LEFT JOIN "a57be577deb434"."tbl_project_product_types" "pt" ON pt.project_id = p.id WHERE ("c"."deleted"=FALSE) AND (c.id is not null) AND ((c.sales_rep IS NULL) OR ("c"."sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5409, 5412, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("prr"."user_id"=1000) OR ("c"."id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))) AND ("p"."project_status"='1') AND ("pt"."product_type_id"='2') GROUP BY "p"."id" ORDER BY "p"."updated_at" DESC LIMIT 10
15:24:18.049traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
15:24:18.049traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
15:24:18.049infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 0, 266, 'v2/project/list', '{"access_token":"gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om","ProjectSearch":{"projectProductTypes":"2","created_by":"","salesForecast":"","project_status":"1","project_progress":"","engineer_id":""},"device_type":"0","version_code":"266","page":"1","token":"cda3bf33d5d944d14a85e4758a62e7b4","posttime":"1757489057","pagesize":"10"}', '{"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":""}]}', FALSE, '2025-09-10 15:24:18') RETURNING "id"