16:16:32.950 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
16:16:32.950 | trace | yii\base\Module::getModule | Loading module: debug |
16:16:32.950 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
16:16:32.951 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
16:16:32.951 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
16:16:32.951 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:16:32.951 | trace | yii\base\Module::getModule | Loading module: gii |
16:16:32.951 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
16:16:32.951 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
16:16:32.951 | trace | yii\web\Application::handleRequest | Route requested: 'andy/get-log' |
16:16:32.955 | trace | yii\base\Controller::runAction | Route to run: andy/get-log |
16:16:32.955 | trace | yii\base\InlineAction::runWithParams | Running action: app\controllers\AndyController::actionGetLog() |
16:16:32.957 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:16:32.957 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:16:32.959 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:16:32.959 | info | yii\db\Command::query | SELECT 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:16:32.959 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
16:16:33.011 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
16:16:33.012 | trace | yii\base\View::renderFile | Rendering view file: /var/www/beta/views/site/andy/get-log.php |
16:16:33.029 | info | yii\db\Command::query | SELECT COUNT(*) FROM "global"."tbl_api_log" "a" LEFT JOIN "global"."tbl_logins" "u" ON u.id = a.user_id WHERE ("a"."url" ILIKE '%v2%') AND ((a.time >= '2025-09-22 00:00:00') AND (a.time < TIMESTAMP '2025-09-22 23:59:59' + INTERVAL '1 second')) |
16:16:33.074 | info | yii\db\Command::query | SELECT a.* FROM "global"."tbl_api_log" "a" LEFT JOIN "global"."tbl_logins" "u" ON u.id = a.user_id WHERE ("a"."url" ILIKE '%v2%') AND ((a.time >= '2025-09-22 00:00:00') AND (a.time < TIMESTAMP '2025-09-22 23:59:59' + INTERVAL '1 second')) ORDER BY "id" DESC LIMIT 20 |
16:16:33.120 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_logins" WHERE "id"=1001 |
16:16:33.121 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:16:33.121 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:16:33.121 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_enterprises" WHERE "id"=2 |
16:16:33.122 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:16:33.122 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:16:33.127 | trace | yii\base\Module::getModule | Loading module: gridview |
16:16:33.137 | info | yii\web\Session::open | Session started |
16:16:33.143 | trace | yii\base\View::renderFile | Rendering view file: /var/www/beta/views/layouts/new-front.php |