Advertisement
Guest User

Untitled

a guest
Dec 14th, 2020
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. I, [2020-12-09T06:32:54.969959 #1451] INFO -- : [09b564cc-ee57-416f-8604-4c0997f43401] Started POST "/api/v1/translation/translate.json" for 5.35.166.155 at 2020-12-09 06:32:54 +0100
  2. I, [2020-12-09T06:32:54.972028 #1451] INFO -- : [09b564cc-ee57-416f-8604-4c0997f43401] Processing by Api::V1::TranslationController#translate as JSON
  3. I, [2020-12-09T06:32:54.972155 #1451] INFO -- : [09b564cc-ee57-416f-8604-4c0997f43401] Parameters: {"deviceId"=>"aaabbbccc123", "productId"=>"aaa.bbbbb.ccccc.xyz456", "lang_from"=>"pl", "lang_to"=>"de", "text"=>"przykładowy tekst"}
  4. D, [2020-12-09T06:32:54.972355 #1451] DEBUG -- : [09b564cc-ee57-416f-8604-4c0997f43401] Auth request:
  5. productId: aaa.bbbbb.ccccc.xyz456,
  6. deviceId: aaabbbccc123.
  7.  
  8. D, [2020-12-09T06:32:54.974530 #1451] DEBUG -- : [09b564cc-ee57-416f-8604-4c0997f43401] ESC[1mESC[36mProduct Load (0.5ms)ESC[0m ESC[1mESC[34mSELECT "products".* FROM "products" WHERE "products"."productId" = $1 LIMIT $2ESC[0m [["productId", "xyz456"], ["LIMIT", 1]]
  9. D, [2020-12-09T06:32:54.975159 #1451] DEBUG -- : [09b564cc-ee57-416f-8604-4c0997f43401] Found product with id xyz456
  10. D, [2020-12-09T06:32:54.985609 #1451] DEBUG -- : [09b564cc-ee57-416f-8604-4c0997f43401] ESC[1mESC[36mDevice Load (8.9ms)ESC[0m ESC[1mESC[34mSELECT "devices".* FROM "devices" WHERE "devices"."product_id" = $1 AND "devices"."deviceId" = $2 LIMIT $3ESC[0m [["product_id", 81], ["deviceId", "abc123"], ["LIMIT", 1]]
  11. D, [2020-12-09T06:32:54.986213 #1451] DEBUG -- : [09b564cc-ee57-416f-8604-4c0997f43401] Found device with productId, deviceId: xyz456, abc123
  12. D, [2020-12-09T06:32:54.988975 #1451] DEBUG -- : [09b564cc-ee57-416f-8604-4c0997f43401] ESC[1mESC[36mTranslation::EngineSet Load (0.5ms)ESC[0m ESC[1mESC[34mSELECT "translation_engine_sets".* FROM "translation_engine_sets" WHERE "translation_engine_sets"."name" IS NULL LIMIT $1ESC[0m [["LIMIT", 1]]
  13. W, [2020-12-09T06:32:54.989494 #1451] WARN -- : [09b564cc-ee57-416f-8604-4c0997f43401] Translation engine set , set by query parameter, does not exist. Falling back to default.
  14. D, [2020-12-09T06:32:54.990923 #1451] DEBUG -- : [09b564cc-ee57-416f-8604-4c0997f43401] ESC[1mESC[36mTranslation::EngineSet Load (0.5ms)ESC[0m ESC[1mESC[34mSELECT "translation_engine_sets".* FROM "translation_engine_sets" WHERE "translation_engine_sets"."id" = $1 LIMIT $2ESC[0m [["id", 6], ["LIMIT", 1]]
  15. D, [2020-12-09T06:32:54.993342 #1451] DEBUG -- : [09b564cc-ee57-416f-8604-4c0997f43401] ESC[1mESC[36mTranslation::LanguagePair Load (0.8ms)ESC[0m ESC[1mESC[34mSELECT "translation_language_pairs".* FROM "translation_language_pairs" WHERE "translation_language_pairs"."translation_engine_set_id" = $1 AND "translation_language_pairs"."lang_from" = $2 AND "translation_language_pairs"."lang_to" = $3 LIMIT $4ESC[0m [["translation_engine_set_id", 6], ["lang_from", "pl"], ["lang_to", "de"], ["LIMIT", 1]]
  16. D, [2020-12-09T06:32:54.993722 #1451] DEBUG -- : [09b564cc-ee57-416f-8604-4c0997f43401] Querying Translation Engine: GoogleTranslator
  17. D, [2020-12-09T06:32:54.994499 #1451] DEBUG -- : [09b564cc-ee57-416f-8604-4c0997f43401] Sending HTTP get https://translation.googleapis.com/language/translate/v2?key=xxxxyyyyzzzz
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement