All Latest
6a3ce887cb5b5: GET https://beta.jinchangxiao.com/andy/get-log?pass=a31ed0c9a8b395f0fb69623b2037b429 at 2026-06-25 04:36:23 pm by 221.216.117.25

Log Messages

总计41条数据
TimeLevelCategoryMessage
 
16:36:23.831traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
16:36:23.832traceyii\base\Module::getModuleLoading module: debug
16:36:23.832traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
16:36:23.833traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
16:36:23.833traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
16:36:23.833traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:23.834infotime tracing start1782376583834454016
16:36:23.834traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
16:36:23.834traceyii\web\Application::handleRequestRoute requested: 'andy/get-log'
16:36:23.836traceyii\base\Controller::runActionRoute to run: andy/get-log
16:36:23.836traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:23.837traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:36:23.837traceyii\base\InlineAction::runWithParamsRunning action: app\controllers\AndyController::actionGetLog()
16:36:23.860traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:23.861infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
16:36:23.862infoyii\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_api_log' and d.nspname = 'global' ORDER BY a.attnum;
16:36:23.870infoyii\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_api_log' and ns.nspname='global' order by fns.nspname, fc.relname, a.attnum
16:36:23.886traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:36:23.886traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:36:23.889traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:23.905infoyii\db\Command::querySELECT code AS key, CASE WHEN code = 200 THEN '正常'||'('|| code||')' ELSE '错误'||'('|| code||')' END AS name FROM "global"."tbl_api_log" "a" WHERE a.code IS NOT NULL GROUP BY "code" ORDER BY "code"
16:36:24.236traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:36:24.236traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:24.236traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:24.237traceyii\base\View::renderFileRendering view file: /var/www/beta/views/site/andy/get-log.php
16:36:24.270infoyii\db\Command::querySELECT COUNT(*) FROM "global"."tbl_api_log" "a"
16:36:24.360infoyii\db\Command::querySELECT a.* FROM "global"."tbl_api_log" "a" ORDER BY "id" DESC LIMIT 20
16:36:24.377infoyii\db\Command::querySELECT * FROM "global"."tbl_logins" WHERE "id"=1001
16:36:24.378traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:24.378infoyii\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_logins' and d.nspname = 'global' ORDER BY a.attnum;
16:36:24.383infoyii\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_logins' and ns.nspname='global' order by fns.nspname, fc.relname, a.attnum
16:36:24.387traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:36:24.387traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:36:24.390infoyii\db\Command::querySELECT * FROM "global"."tbl_enterprises" WHERE "id"=2
16:36:24.391traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:36:24.391infoyii\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_enterprises' and d.nspname = 'global' ORDER BY a.attnum;
16:36:24.396infoyii\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_enterprises' and ns.nspname='global' order by fns.nspname, fc.relname, a.attnum
16:36:24.400traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:36:24.401traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:36:24.413traceyii\base\Module::getModuleLoading module: gridview
16:36:24.429erroryii\base\ErrorException:8yii\base\ErrorException: Trying to get property of non-object in /var/www/beta/views/site/andy/get-log.php:171 Stack trace: #0 /var/www/beta/views/site/andy/get-log.php(171): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/var/www/beta/v...', 171, Array) #1 [internal function]: yii\base\View->{closure}(Object(app\models\ApiLog), 23940375, 0, Object(kartik\grid\DataColumn)) #2 /var/www/beta/vendor/yiisoft/yii2/grid/Column.php(164): call_user_func(Object(Closure), Object(app\models\ApiLog), 23940375, 0, Object(kartik\grid\DataColumn)) #3 /var/www/beta/vendor/yiisoft/yii2/grid/DataColumn.php(229): yii\grid\Column->renderDataCellContent(Object(app\models\ApiLog), 23940375, 0) #4 /var/www/beta/vendor/kartik-v/yii2-grid/DataColumn.php(332): yii\grid\DataColumn->renderDataCellContent(Object(app\models\ApiLog), 23940375, 0) #5 /var/www/beta/vendor/yiisoft/yii2/grid/GridView.php(507): kartik\grid\DataColumn->renderDataCell(Object(app\models\ApiLog), 23940375, 0) #6 /var/www/beta/vendor/yiisoft/yii2/grid/GridView.php(476): yii\grid\GridView->renderTableRow(Object(app\models\ApiLog), 23940375, 0) #7 /var/www/beta/vendor/kartik-v/yii2-grid/GridView.php(799): yii\grid\GridView->renderTableBody() #8 /var/www/beta/vendor/yiisoft/yii2/grid/GridView.php(347): kartik\grid\GridView->renderTableBody() #9 /var/www/beta/vendor/yiisoft/yii2/widgets/BaseListView.php(155): yii\grid\GridView->renderItems() #10 /var/www/beta/vendor/yiisoft/yii2/grid/GridView.php(316): yii\widgets\BaseListView->renderSection('{items}') #11 /var/www/beta/vendor/yiisoft/yii2/widgets/BaseListView.php(130): yii\grid\GridView->renderSection('{items}') #12 [internal function]: yii\widgets\BaseListView->yii\widgets\{closure}(Array) #13 /var/www/beta/vendor/yiisoft/yii2/widgets/BaseListView.php(133): preg_replace_callback('/{\\w+}/', Object(Closure), '<div class="pan...') #14 /var/www/beta/vendor/yiisoft/yii2/grid/GridView.php(291): yii\widgets\BaseListView->run() #15 /var/www/beta/vendor/kartik-v/yii2-grid/GridView.php(769): yii\grid\GridView->run() #16 /var/www/beta/vendor/yiisoft/yii2/base/Widget.php(104): kartik\grid\GridView->run() #17 /var/www/beta/views/site/andy/get-log.php(311): yii\base\Widget::widget(Array) #18 /var/www/beta/vendor/yiisoft/yii2/base/View.php(328): require('/var/www/beta/v...') #19 /var/www/beta/vendor/yiisoft/yii2/base/View.php(250): yii\base\View->renderPhpFile('/var/www/beta/v...', Array) #20 /var/www/beta/vendor/yiisoft/yii2/base/View.php(152): yii\base\View->renderFile('/var/www/beta/v...', Array, Object(app\controllers\AndyController)) #21 /var/www/beta/vendor/yiisoft/yii2/base/Controller.php(381): yii\base\View->render('get-log', Array, Object(app\controllers\AndyController)) #22 /var/www/beta/controllers/AndyController.php(204): yii\base\Controller->render('get-log', Array) #23 [internal function]: app\controllers\AndyController->actionGetLog() #24 /var/www/beta/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #25 /var/www/beta/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams(Array) #26 /var/www/beta/vendor/yiisoft/yii2/base/Module.php(522): yii\base\Controller->runAction('get-log', Array) #27 /var/www/beta/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('andy/get-log', Array) #28 /var/www/beta/vendor/yiisoft/yii2/base/Application.php(379): yii\web\Application->handleRequest(Object(yii\web\Request)) #29 /var/www/beta/web/index.php(32): yii\base\Application->run() #30 {main}