Log Messages

总计57条数据
TimeLevelCategoryMessage
 
18:16:40.969traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
18:16:40.969traceyii\base\Module::getModuleLoading module: debug
18:16:40.970traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
18:16:40.970traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
18:16:40.970traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
18:16:40.971traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:16:40.971infotime tracing start1784197000971390976
18:16:40.971traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
18:16:40.971traceyii\web\Application::handleRequestRoute requested: 'ledger/settings/save-new-account-caption-auxiliary-opening'
18:16:40.971traceyii\base\Module::getModuleLoading module: ledger
18:16:40.973infoyii\web\Session::openSession started
18:16:40.974infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1013
18:16:40.974infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
18:16:40.980traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:16:40.981traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:16:40.981infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "ledger_access_token"='fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c'
18:16:40.983traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:16:40.983traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:16:40.983infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
18:16:40.985infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1'
18:16:40.986traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:16:40.986traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:16:40.987traceyii\base\Controller::runActionRoute to run: ledger/settings/save-new-account-caption-auxiliary-opening
18:16:40.987traceyii\base\InlineAction::runWithParamsRunning action: app\modules\ledger\controllers\SettingsController::actionSaveNewAccountCaptionAuxiliaryOpening()
18:16:40.987infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_settles" WHERE ("ledger_id"='1') AND ("is_settle"=TRUE))
18:16:40.989traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:16:40.989traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:16:40.989infoyii\db\Command::querySELECT COALESCE(max("sort"), 0) + 1 FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE ("ledger_id"='1') AND ("ledger_account_caption_id"='32')
18:16:40.990infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1')
18:16:40.991infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "id"='32')
18:16:40.992infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE "id"='1')
18:16:40.992infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
18:16:40.993infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='32') AND ("ledger_id"='1')
18:16:40.994infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"='1') AND ("parent_id"='32'))
18:16:40.994infoyii\db\Command::querySELECT "id", "type" FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE ("id"='1') AND ("ledger_id"='1')
18:16:40.995infoyii\db\Command::querySELECT "id", "is_auxiliary_customer", "is_auxiliary_supplier" FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='32') AND ("ledger_id"='1')
18:16:40.996infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE ("ledger_id"='1') AND ("ledger_account_caption_id"='32') AND ("auxiliary_item_id"='1'))
18:16:40.996traceyii\db\Transaction::beginBegin transaction
18:16:40.996infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" ("ledger_account_caption_id", "auxiliary_item_id", "amount", "opening_debit_amount", "opening_credit_amount", "ledger_id", "created_by", "sort", "updated_at") VALUES (32, 1, '10', '1', '1', 1, 1001, 1, '2026-07-16 18:16:40') RETURNING "id"
18:16:40.998traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:16:40.998traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:16:40.998infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\LedgerAuxiliaryOpeningBalances', 4, 'a:12:{s:2:"id";i:4;s:9:"ledger_id";s:1:"1";s:25:"ledger_account_caption_id";s:2:"32";s:17:"auxiliary_item_id";s:1:"1";s:6:"amount";s:2:"10";s:20:"opening_debit_amount";s:1:"1";s:21:"opening_credit_amount";s:1:"1";s:11:"description";N;s:4:"sort";i:1;s:10:"created_by";i:1001;s:10:"created_at";N;s:10:"updated_at";s:19:"2026-07-16 18:16:40";}', '', 1001, '114.244.130.25')
18:16:40.999infoyii\db\Command::querySELECT COALESCE(sum(amount), 0) FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE ("ledger_id"='1') AND ("ledger_account_caption_id"='32')
18:16:41.000infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='32') AND ("ledger_id"='1')
18:16:41.000traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:16:41.000traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:16:41.001infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_ledger_account_captions" SET "amount"='10', "balance_amount"='10', "updated_at"='2026-07-16 18:16:41' WHERE "id"=32
18:16:41.001infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\LedgerAccountCaptions', 32, 'a:2:{s:6:"amount";s:2:"10";s:14:"balance_amount";s:2:"10";}', '', 1001, '114.244.130.25')
18:16:41.002infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE 0=1
18:16:41.002infoyii\db\Command::querySELECT "id", "parent_id" FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "ledger_id"='1'
18:16:41.003infoyii\db\Command::querySELECT "id", "parent_id" FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "ledger_id"='1'
18:16:41.004traceyii\db\Transaction::commitCommit transaction
18:16:41.005traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:16:41.006traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:16:41.006infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 6, 'ledger/settings/save-new-account-caption-auxiliary-opening', '{"access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c","ledger_id":"1","LedgerAuxiliaryOpeningBalances":{"ledger_account_caption_id":"32","auxiliary_item_id":"1","amount":"10","opening_debit_amount":"1","opening_credit_amount":"1"},"web_access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c"}', '{"code":2000,"result":{"id":4},"status":1,"msg":[{"name":"success","success":"\u65b0\u8f85\u52a9\u6838\u7b97\u671f\u521d\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0,"ip":"114.244.130.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-16 18:16:41', 34809088) RETURNING "id"
18:16:41.008traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:16:41.008traceyii\redis\Connection::executeCommandExecuting Redis Command: SET