Log Messages

总计56条数据
TimeLevelCategoryMessage
 
14:25:18.923traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
14:25:18.923traceyii\base\Module::getModuleLoading module: debug
14:25:18.923traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
14:25:18.923traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
14:25:18.923traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
14:25:18.923traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:25:18.923traceyii\base\Module::getModuleLoading module: gii
14:25:18.923traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
14:25:18.924traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
14:25:18.924traceyii\web\Application::handleRequestRoute requested: 'vue/project/list-document'
14:25:18.924traceyii\base\Module::getModuleLoading module: vue
14:25:18.924infoyii\web\Session::openSession started
14:25:18.925infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
14:25:18.925infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
14:25:18.929traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:25:18.929traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:25:18.929traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:25:18.930traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:25:18.930infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:25:18.931traceyii\base\Controller::runActionRoute to run: vue/project/list-document
14:25:18.931traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:25:18.932traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:25:18.932traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ProjectController::actionListDocument()
14:25:18.932infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3801'
14:25:18.933traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:25:18.933traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:25:18.935traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:25:18.935infoyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_client_documents' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:25:18.940infoyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_client_documents' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:25:18.951traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:25:18.951traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:25:18.952infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT cd.* FROM "a57be577deb434"."tbl_client_documents" "cd" WHERE "project_id"=3801 GROUP BY "cd"."id" ORDER BY "created_at" DESC) "c"
14:25:18.955infoyii\db\Command::querySELECT cd.* FROM "a57be577deb434"."tbl_client_documents" "cd" WHERE "project_id"=3801 GROUP BY "cd"."id" ORDER BY "created_at" DESC LIMIT 20
14:25:18.956infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:25:18.957infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001)
14:25:18.957infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4
14:25:18.958infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=24745
14:25:18.958infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=104) AND ("object_id"=752) GROUP BY "object_id"
14:25:18.975infoyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=104) AND (remind_user_id = 1001 AND is_read = false) AND ("object_id"=752) GROUP BY "object_id"
14:25:18.991infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id"=3278
14:25:18.991infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=3801
14:25:18.992traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: updateProjectDocument
14:25:18.992traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Engineer
14:25:18.992traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: deleteProjectDocument
14:25:18.992traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:25:18.992traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:25:18.993traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:25:18.993traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:25:18.994traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:25:18.994infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_visit_module_histories" WHERE ("user_id"=1001) AND ("object_type"=1) AND ("visit_date"='2025-07-16')
14:25:18.997traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:25:18.997traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:25:18.997infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=4, "last_visit_at"='now()' WHERE "id"=49841
14:25:18.998infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/project/list-document', '{"page":"1","project_id":"3801","web_access_token":"IB4L4uAW8bjXvE6-5qxkaUjtqmmYbCm_"}', '{"code":2000,"result":{"list":[{"id":752,"attachment_id":24745,"client_id":3278,"title":"\u6d4b\u8bd5","description":"\u6d4b\u8bd5","created_by":1001,"created_at":"2025-06-11 13:42:00","updated_at":"2025-06-11 13:42:00","project_id":3801,"case_id":null,"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"attachment":{"id":24745,"key":24745,"name":"4da4027d-53dd-372a-ad23-5417ad93eb7b","extension":"xls","path":"\/vue\/attachment\/preview\/4da4027d-53dd-372a-ad23-5417ad93eb7b\/\u526f\u672c\u4e13\u9879\u9644\u52a0\u6263\u9664\u4fe1\u606f\u5bfc\u5165\u6a21\u677f.xls","orig_name":"\u526f\u672c\u4e13\u9879\u9644\u52a0\u6263\u9664\u4fe1\u606f\u5bfc\u5165\u6a21\u677f.xls"},"commentCount":{},"unreadComments":null,"client":{"id":3278,"key":3278,"name":"\u5317\u4eac\u521b\u5b89\u5149\u901a\u79d1\u6280\u53d1\u5c55\u6709\u9650\u516c\u53f8","logo":null,"sales_rep":1001},"project":{"id":3801,"key":3801,"name":"\u8d1f\u6570\u95ee\u9898"},"case":null,"unread":0,"can_update":true,"can_delete":true}],"can_create":true,"pagenation":{"totalcount":1,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-07-16 14:25:18') RETURNING "id"
14:25:19.000traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:25:19.000traceyii\redis\Connection::executeCommandExecuting Redis Command: SET