Log Messages

总计58条数据
TimeLevelCategoryMessage
 
11:38:05.067traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
11:38:05.067traceyii\base\Module::getModuleLoading module: debug
11:38:05.068traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
11:38:05.068traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
11:38:05.068traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
11:38:05.068traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:38:05.069traceyii\base\Module::getModuleLoading module: gii
11:38:05.069traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
11:38:05.069traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
11:38:05.069traceyii\web\Application::handleRequestRoute requested: 'v2/work-log/get-new'
11:38:05.069traceyii\base\Module::getModuleLoading module: v2
11:38:05.072infoyii\web\Session::openSession started
11:38:05.073infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
11:38:05.075infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u'
11:38:05.080traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:38:05.080traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:38:05.080traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:38:05.080traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:38:05.081infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
11:38:05.082traceyii\base\Controller::runActionRoute to run: v2/work-log/get-new
11:38:05.085traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:38:05.087traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
11:38:05.087traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\WorkLogController::actionGetNew()
11:38:05.087infoyii\db\Command::querySELECT s.*, s.end_at - s.start_at AS hours_spent FROM "a57be577deb434"."tbl_work_logs" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "c" ON s.client_id = c.id WHERE "s"."created_by"=1000 ORDER BY "s"."id" DESC
11:38:05.092traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:38:05.092infoyii\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_work_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
11:38:05.100infoyii\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_work_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
11:38:05.122traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:38:05.122traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
11:38:05.129infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
11:38:05.131infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10
11:38:05.132infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)
11:38:05.133infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37024
11:38:05.142infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=73
11:38:05.143infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"=1
11:38:05.145infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=37024)
11:38:05.149infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=24767
11:38:05.150infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id"=37024)
11:38:05.152infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37024
11:38:05.158infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=37024 ORDER BY "id"
11:38:05.162infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
11:38:05.162infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)
11:38:05.162infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id"=37024) GROUP BY "object_id"
11:38:05.191infoyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=19) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=37024) GROUP BY "object_id"
11:38:05.214infoyii\db\Command::querySELECT "work_log_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" != 4) AND ("status" != 0) AND ("work_log_id"=37024) GROUP BY "work_log_id"
11:38:05.216infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "work_log_id"=37024
11:38:05.218traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:38:05.220traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:38:05.221infoyii\db\Command::querySELECT "wls"."id", "wls"."name" FROM "a57be577deb434"."tbl_work_log_scenarios" "wls" LEFT JOIN "a57be577deb434"."tbl_work_log_scenario_options" "wlso" ON wls.id = wlso.work_log_scenario_id WHERE wlso.id IS NOT NULL GROUP BY "wls"."id" ORDER BY "wls"."sort"
11:38:05.222traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:38:05.223infoyii\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_work_log_scenarios' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
11:38:05.227infoyii\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_work_log_scenarios' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
11:38:05.241traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:38:05.242traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
11:38:05.242infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "work_log_scenario_id" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE ("is_delete"=FALSE) AND ("work_log_scenario_id" IN (1, 2, 3)) ORDER BY "sort"
11:38:05.242traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
11:38:05.243traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
11:38:05.243infoyii\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, 261, 'v2/work-log/get-new', '{"access_token":"rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u","device_type":"0","version_code":"261","token":"77c638be9f26c56bbffc55ab92fa01a6","posttime":"1750995484"}', '{"code":200,"data":{"model":{"id":37024,"client_id":null,"scenario_id":1,"scenario_option_id":73,"end_at":"2025-06-24 21:56:00","created_by":1000,"created_at":"2025-06-24 21:56:33","updated_at":"2025-06-24 21:56:33","start_at":"2025-06-24 20:00:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":1,"indistance":"","outdistance":"","hours_spent":"01:56:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"},"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}},"client":null,"project":null,"workLogContacts":[],"scenarioOption":{"id":73,"key":73,"name":"\u552e\u540e\u670d\u52a1"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"locationIn":null,"locationOut":null,"attachmentRelationships":[{"id":33143,"object_type":18,"object_id":37024,"attachment_id":24767,"attachment":{"id":24767,"key":24767,"name":"e6640989-f9b5-3726-aa96-1be4e7fbbc72","extension":"png","path":"\/v2\/attachment\/view\/rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u\/e6640989-f9b5-3726-aa96-1be4e7fbbc72\/20250624215606.png","orig_name":"20250624215606.png"}}],"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":14302,"work_log_id":37024,"user_id":1000,"status":1,"description":null,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}}}],"commentCount":{"object_id":37024,"comment":1},"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f656\u5206\u949f","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true},"options":[{"key":"WorkLogSearch[scenario_id]","name":"\u65e5\u5fd7\u7c7b\u578b","value":[{"id":1,"name":"\u9500\u552e\u65e5\u5fd7","items":[{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237","work_log_scenario_id":1},{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb","work_log_scenario_id":1},{"id":67,"key":67,"name":"\u5546\u673a\u63a8\u52a8","work_log_scenario_id":1},{"id":72,"key":72,"name":"\u6316\u6398\u5546\u673a","work_log_scenario_id":1},{"id":73,"key":73,"name":"\u552e\u540e\u670d\u52a1","work_log_scenario_id":1},{"id":69,"key":69,"name":"\u5382\u5546\u5408\u4f5c","work_log_scenario_id":1},{"id":70,"key":70,"name":"\u4ea7\u54c1\u57f9\u8bad","work_log_scenario_id":1}]},{"id":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7","items":[{"id":23,"key":23,"name":"\u516c\u53f8\u5185\u90e8\u57f9\u8bad","work_log_scenario_id":2},{"id":26,"key":26,"name":"\u5382\u5546\u62dc\u8bbf","work_log_scenario_id":2},{"id":24,"key":24,"name":"\u516c\u53f8\u5916\u90e8\u57f9\u8bad","work_log_scenario_id":2},{"id":25,"key":25,"name":"\u516c\u53f8\u5185\u505a\u5b9e\u9a8c","work_log_scenario_id":2},{"id":16,"key":16,"name":"\u62a5\u544a\/\u65b9\u6848\u7f16\u5199","work_log_scenario_id":2},{"id":17,"key":17,"name":"\u9879\u76ee\u542f\u52a8\u4f1a","work_log_scenario_id":2},{"id":18,"key":18,"name":"\u7ed9\u5ba2\u6237\u505a\u57f9\u8bad","work_log_scenario_id":2},{"id":19,"key":19,"name":"\u516c\u53f8\u5185\u90e8\u4f1a\u8bae","work_log_scenario_id":2},{"id":20,"key":20,"name":"\u516c\u53f8\u5185\u9605\u8bfb\u8d44\u6599","work_log_scenario_id":2},{"id":21,"key":21,"name":" \u516c\u53f8\u8c03\u8bd5\u5ba2\u6237\u8bbe\u5907","work_log_scenario_id":2},{"id":22,"key":22,"name":"\u56e0\u79c1\u8bf7\u5047","work_log_scenario_id":2}]},{"id":3,"name":"\u5185\u52e4\u65e5\u5fd7","items":[{"id":27,"key":27,"name":"\u5916\u51fa\u529e\u516c","work_log_scenario_id":3}]}]}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-06-27 11:38:05') RETURNING "id"