Skip to content

Instantly share code, notes, and snippets.

@satriahrh
Created April 22, 2019 10:27
Show Gist options
  • Save satriahrh/7ede17508107a8004a382fe8e718457f to your computer and use it in GitHub Desktop.
Save satriahrh/7ede17508107a8004a382fe8e718457f to your computer and use it in GitHub Desktop.
D, [2019-04-22T17:25:04.844532 #28255] DEBUG -- : (0.8ms) SET NAMES utf8mb4 COLLATE utf8mb4_bin, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
D, [2019-04-22T17:25:04.855728 #28255] DEBUG -- : DebtCollector::CashFunding::Investor Load (0.9ms) SELECT `cash_funding_investors`.* FROM `cash_funding_investors` WHERE `cash_funding_investors`.`user_id` = 1 LIMIT 1
I, [2019-04-22T17:25:04.931137 #28255] INFO -- : [paperclip] Trying to link /tmp/8d777f385d3dfec8815d20f7496026dc20190422-28255-15d663q to /tmp/8d777f385d3dfec8815d20f7496026dc20190422-28255-sr49e6
I, [2019-04-22T17:25:04.945184 #28255] INFO -- : [paperclip] Trying to link /tmp/8d777f385d3dfec8815d20f7496026dc20190422-28255-1908wza to /tmp/8d777f385d3dfec8815d20f7496026dc20190422-28255-1imoczc
D, [2019-04-22T17:25:04.946448 #28255] DEBUG -- : (0.5ms) BEGIN
I, [2019-04-22T17:25:04.947528 #28255] INFO -- : [paperclip] Trying to link /tmp/8d777f385d3dfec8815d20f7496026dc20190422-28255-15d663q to /tmp/8d777f385d3dfec8815d20f7496026dc20190422-28255-11h35ed
I, [2019-04-22T17:25:04.948222 #28255] INFO -- : [paperclip] Trying to link /tmp/8d777f385d3dfec8815d20f7496026dc20190422-28255-1908wza to /tmp/8d777f385d3dfec8815d20f7496026dc20190422-28255-k2tftx
D, [2019-04-22T17:25:04.952185 #28255] DEBUG -- : DebtCollector::CashFunding::Investor Update (1.0ms) UPDATE `cash_funding_investors` SET `ktp_file_name` = 'data', `ktp_updated_at` = '2019-04-22 10:25:04', `photo_person_file_name` = 'data', `photo_person_updated_at` = '2019-04-22 10:25:04', `updated_at` = '2019-04-22 10:25:04' WHERE `cash_funding_investors`.`id` = 1
D, [2019-04-22T17:25:04.970527 #28255] DEBUG -- : DebtCollector::ActionLog Create (0.7ms) INSERT INTO `action_logs` (`record_id`, `record_type`, `data`, `actor_type`, `ip_address`, `agent`, `version`, `created_at`, `updated_at`) VALUES (1, 'DebtCollector::CashFunding::Investor', '--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nktp_file_name:\n- data\n- data\nktp_updated_at:\n- 2019-04-22 10:21:06.000000000 Z\n- 2019-04-22 17:25:04.000000000 +07:00\nphoto_person_file_name:\n- data\n- data\nphoto_person_updated_at:\n- 2019-04-22 10:21:06.000000000 Z\n- 2019-04-22 17:25:04.000000000 +07:00\nupdated_at:\n- 2019-04-22 10:21:06.000000000 Z\n- 2019-04-22 10:25:04.000000000 Z\n', 'User', '2130706433', 'web', '0', '2019-04-22 10:25:04', '2019-04-22 10:25:04')
D, [2019-04-22T17:25:04.975698 #28255] DEBUG -- : (3.0ms) COMMIT
{"message":"counter [:debt_collector_cash_funding_create_investor, 1, {:status=\u003e\"success\"}]","@timestamp":"2019-04-22T17:25:04.976+07:00","@version":"1","severity":"DEBUG","host":"lat-3490"}
{"message":"publish","@timestamp":"2019-04-22T17:25:04.976+07:00","@version":"1","severity":"DEBUG","host":"lat-3490"}
D, [2019-04-22T17:25:04.995526 #28255] DEBUG -- : DebtCollector::CashFunding::InvestorAddress Load (0.6ms) SELECT `cash_funding_investor_addresses`.* FROM `cash_funding_investor_addresses` WHERE `cash_funding_investor_addresses`.`investor_id` = 1 ORDER BY `cash_funding_investor_addresses`.`id` ASC LIMIT 1000
D, [2019-04-22T17:25:05.004553 #28255] DEBUG -- : DebtCollector::CashFunding::InvestorRelativeContact Load (0.6ms) SELECT `cash_funding_investor_relative_contacts`.* FROM `cash_funding_investor_relative_contacts` WHERE `cash_funding_investor_relative_contacts`.`investor_id` = 1 ORDER BY `cash_funding_investor_relative_contacts`.`id` ASC LIMIT 1000
{"duration":0.203155492,"status":201,"current_user":null,"current_agent":"web","current_version":null,"request_method":"POST","request_path":"/cash-fundings/investors","request_id":"d174ffd0-4716-0137-055d-54bf64299d6b","retry":0,"deadline":null,"trace_id":"d1750130-4716-0137-b54e-54bf64299d6b","span_id":"d17501d0-4716-0137-3b19-54bf64299d6b","parent_span_id":null,"trace_sampled":true,"message":"ok","tags":["debt_collector","log_request","cash_funding","investors_controller"],"@timestamp":"2019-04-22T17:25:05.007+07:00","@version":"1","severity":"INFO","host":"lat-3490"}
{"message":"histogram [:bukacicilan_service_latency_seconds, 0.203155492, {:status=\u003e\"ok\", :action=\u003e\"/cash-fundings/investors\", :http_method=\u003e\"POST\"}]","@timestamp":"2019-04-22T17:25:05.008+07:00","@version":"1","severity":"DEBUG","host":"lat-3490"}
{"message":"publish","@timestamp":"2019-04-22T17:25:05.008+07:00","@version":"1","severity":"DEBUG","host":"lat-3490"}
127.0.0.1 - - [22/Apr/2019:17:25:05 +0700] "POST /cash-fundings/investors HTTP/1.1" 201 645 0.2201
D, [2019-04-22T17:25:56.352945 #28255] DEBUG -- : (3.7ms) SET NAMES utf8mb4 COLLATE utf8mb4_bin, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment