{"id":240,"date":"2020-05-22T16:45:27","date_gmt":"2020-05-22T07:45:27","guid":{"rendered":"http:\/\/dev.e-luda.com\/dev-note\/?p=337"},"modified":"2022-04-25T11:17:08","modified_gmt":"2022-04-25T02:17:08","slug":"api-log-%ea%b5%ac%ec%84%b1-%ed%95%ad%eb%aa%a9","status":"publish","type":"post","link":"http:\/\/dev.e-luda.com\/dev-note\/?p=240","title":{"rendered":"API Log \uad6c\uc131 \ud56d\ubaa9"},"content":{"rendered":"\n<p>API Log\uc5d0 \uae30\ub85d\ub420 \ud56d\ubaa9\ub4e4\uc744 \uc544\ub798\uc640 \uac19\uc774 \uc815\ub9ac\ud574 \ubcf4\uc558\ub2e4.<br>*\ud45c\uc2dc\uac00 \ubd99\uc740 \ud56d\ubaa9\uc740 \uac00\uae09\uc801 \ud3ec\ud568\uc2dc\ucf1c\uc57c \ud558\ub294 \ud56d\ubaa9\uc774\ub2e4.<\/p>\n\n\n\n<p>&#8211; <strong>api transaction id<\/strong>*<br>\u318d\uad6c\uc131\uc608 : api was\uc758 host\uba85 + \u2018-\u2019 + api was\uc5d0\uc11c \uc0dd\uc131\ud55c uuid<br>\u318dhost name \uc870\ud68c \ubc29\ubc95 \uc608(java) : InetAddress.getLocalHost().getHostName()<br>\u318duuid \ud68d\ub4dd \ubc29\ubc95 \uc608(java) : UUID.randomUUID()<br>\u318d\uc0dd\uc131 : WAS<\/p>\n\n\n\n<p> &#8211; <strong>client trnsaction id<\/strong><br>\u318dclient\uc5d0\uc11c \uc804\ub2ec\ud55c client transaction id<br>\u318d\uc0dd\uc131 : request header  <\/p>\n\n\n\n<p>&#8211; <strong>result code*<\/strong><br>\u318d\ucc98\ub9ac \uacb0\uacfc \ucf54\ub4dc<br>\u318d\ucf54\ub4dc \uc815\ubcf4\ub97c DB table\ub4f1\uc73c\ub85c \uad00\ub9ac\ud558\uc5ec \uc0ac\uc6a9\ud55c\ub2e4.<br>\u318d\uc0dd\uc131 : WAS <\/p>\n\n\n\n<p>&#8211; <strong>request time<\/strong>*<br>\u318d\ucc98\ub9ac \uc694\uccad \uc2dc\uac01<br>\u318d\uc0dd\uc131 : WAS <\/p>\n\n\n\n<p>&#8211;<strong>process time<\/strong>*<br>\u318dapi \ucc98\ub9ac\uc2dc\uac04( \ub2e8\uc704 : \ucd08 ).<br>\u318d1\/1000 \ucd08 \uc0ac\uc6a9\uc2dc 0\ucd08\ub85c \uae30\ub85d\ub418\ub294 \uacbd\uc6b0\uac00 \ubc1c\uc0dd\ud558\ub2c8 \ud504\ub85c\uc81d\ud2b8 \uc131\uaca9\uc5d0 \ub530\ub77c \uc774\ud558 \ub2e8\uc704\uae4c\uc9c0 \uce21\uc815\ud558\uc5ec \uae30\ub85d\ud560\uc9c0 \uacb0\uc815\ud558\ub3c4\ub85d \ud55c\ub2e4. 0\ucd08\ub85c \uae30\ub85d\ub410\uc744 \uacbd\uc6b0 \ud45c\uc2dc\ub294 &#8216;0.001 \ucd08 \uc774\ud558&#8217; \ub85c \ud45c\uc2dc\ud558\uba74 \ub41c\ub2e4.<br>\u318d\uc0dd\uc131 : WAS<\/p>\n\n\n\n<p>&#8211;  <strong>api server instance<\/strong>*<br>\u318dapi\ub97c \ucc98\ub9ac\ud55c api was instance host name <br>\u318d\uc0dd\uc131 : WAS<\/p>\n\n\n\n<p>&#8211; <strong>response content<\/strong>*<br>\u318dapi \uc751\ub2f5 \uba54\uc2dc\uc9c0 \ub0b4\uc6a9<br>\u318d\ubb38\uc790\uc5f4\ubcf4\ub2e4 json type \uc0ac\uc6a9 \uad8c\uc7a5. <br>\u318d\uc0dd\uc131 : WAS<\/p>\n\n\n\n<p>&#8211; <strong>user id<\/strong><br>\u318dapi \uc694\uccad\uc790<br>\u318d\uc0dd\uc131 : request header or request parameter <\/p>\n\n\n\n<p>&#8211; <strong>request parameter content<\/strong>*<br>\u318d\uc694\uccad \ud30c\ub77c\uba54\ud130 \ub0b4\uc6a9\uc744 json \ud615\uc2dd\uc73c\ub85c \ud45c\uc2dc.<br>\u318d\ubb38\uc790\uc5f4\ubcf4\ub2e4 json type \uc0ac\uc6a9 \uad8c\uc7a5.<br>\u318d\uc0dd\uc131 : request parameter<\/p>\n\n\n\n<p>&#8211; <strong>client id<\/strong><br>\u318dclient\uac00 \ubcf5\uc218\uc774\uac70\ub098 client instance\uac00 \ubcf5\uc218\uc77c \uacbd\uc6b0 \uae30\ub85d.<br>\u318d\uc0dd\uc131 : request header <\/p>\n\n\n\n<p>&#8211; <strong>client request time<\/strong><br>\u318dclient\uc5d0\uc11c \uc804\ub2ec\ud55c \uc694\uccad \uc2dc\uac01.<br>\u318d\uc0dd\uc131 : request header<\/p>\n\n\n\n<p>&#8211;<strong> url*<\/strong><br>\u318ddomain\uacfc request parameter\ub97c \uc81c\uc678\ud55c api request url. <br>\u318d\uc0dd\uc131 : WAS( from HttpServletRequest )<\/p>\n\n\n\n<p>&#8211; <strong>method <\/strong>*<br>\u318dhttp request method<br>&nbsp;&nbsp;&nbsp; &gt; GET : \uc8fc\uc694 \uae30\ub2a5\uc774 \uc870\ud68c\uc77c \uacbd\uc6b0.<br>&nbsp;&nbsp;&nbsp; &gt; POST : \uc8fc\uc694 \uae30\ub2a5\uc774 \ucd94\uac00\uc77c \uacbd\uc6b0.<br>&nbsp;&nbsp;&nbsp; &gt; PUT : \uc8fc\uc694 \uae30\ub2a5\uc774 \ubcc0\uacbd\uc77c \uacbd\uc6b0.<br>&nbsp;&nbsp;&nbsp; &gt; DELETE : \uc8fc\uc694 \uae30\ub2a5\uc774 \uc0ad\uc81c\uc77c \uacbd\uc6b0. <br>\u318d\uc0dd\uc131 : WAS( from HttpServletRequest )<\/p>\n\n\n\n<p>&#8211; <strong>ip address<\/strong><br>\u318dapi\ub97c \uc694\uccad\ud55c ip \uc8fc\uc18c <br>\u318d\uc0dd\uc131 : WAS( from HttpServletRequest )<\/p>\n\n\n\n<p>&#8211; <strong>write time<\/strong>*<br>\u318dapi log &nbsp;\ub4f1\ub85d \uc2dc\uac01.<br>\u318dinsert\uc2dc CURRENT_TIMESTAMP \uc0ac\uc6a9.<br>\u318d\uc0dd\uc131 : DBMS.<\/p>\n\n\n\n<p>&#8211; <strong>referer<\/strong>*<br>\u318dapi\ub97c \uc694\uccad\ud55c referer.<br>\u318d\uc0dd\uc131 : request header \ub610\ub294 WAS( from HttpServletRequest )<\/p>\n","protected":false},"excerpt":{"rendered":"<p>API Log\uc5d0 \uae30\ub85d\ub420 \ud56d\ubaa9\ub4e4\uc744 \uc544\ub798\uc640 \uac19\uc774 \uc815\ub9ac\ud574 \ubcf4\uc558\ub2e4.*\ud45c\uc2dc\uac00 \ubd99\uc740 \ud56d\ubaa9\uc740 \uac00\uae09\uc801 \ud3ec\ud568\uc2dc\ucf1c\uc57c \ud558\ub294 \ud56d\ubaa9\uc774\ub2e4. &#8211; api transaction id*\u318d\uad6c\uc131\uc608 : api was\uc758 host\uba85 + \u2018-\u2019 + api was\uc5d0\uc11c \uc0dd\uc131\ud55c uuid\u318dhost name \uc870\ud68c \ubc29\ubc95 \uc608(java) : InetAddress.getLocalHost().getHostName()\u318duuid \ud68d\ub4dd \ubc29\ubc95 \uc608(java) : UUID.randomUUID()\u318d\uc0dd\uc131 : WAS &#8211; client trnsaction id\u318dclient\uc5d0\uc11c \uc804\ub2ec\ud55c client transaction id\u318d\uc0dd\uc131 : request header &#8211; result &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/dev.e-luda.com\/dev-note\/?p=240\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;API Log \uad6c\uc131 \ud56d\ubaa9&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,36],"tags":[],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-api","category-database"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>API Log \uad6c\uc131 \ud56d\ubaa9 - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/dev.e-luda.com\/dev-note\/?p=240\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"API Log \uad6c\uc131 \ud56d\ubaa9 - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8\" \/>\n<meta property=\"og:description\" content=\"API Log\uc5d0 \uae30\ub85d\ub420 \ud56d\ubaa9\ub4e4\uc744 \uc544\ub798\uc640 \uac19\uc774 \uc815\ub9ac\ud574 \ubcf4\uc558\ub2e4.*\ud45c\uc2dc\uac00 \ubd99\uc740 \ud56d\ubaa9\uc740 \uac00\uae09\uc801 \ud3ec\ud568\uc2dc\ucf1c\uc57c \ud558\ub294 \ud56d\ubaa9\uc774\ub2e4. &#8211; api transaction id*\u318d\uad6c\uc131\uc608 : api was\uc758 host\uba85 + \u2018-\u2019 + api was\uc5d0\uc11c \uc0dd\uc131\ud55c uuid\u318dhost name \uc870\ud68c \ubc29\ubc95 \uc608(java) : InetAddress.getLocalHost().getHostName()\u318duuid \ud68d\ub4dd \ubc29\ubc95 \uc608(java) : UUID.randomUUID()\u318d\uc0dd\uc131 : WAS &#8211; client trnsaction id\u318dclient\uc5d0\uc11c \uc804\ub2ec\ud55c client transaction id\u318d\uc0dd\uc131 : request header &#8211; result &hellip; \ub354 \ubcf4\uae30 &quot;API Log \uad6c\uc131 \ud56d\ubaa9&quot;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/dev.e-luda.com\/dev-note\/?p=240\" \/>\n<meta property=\"og:site_name\" content=\"\ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-22T07:45:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-25T02:17:08+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"wizardlee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/#website\",\"url\":\"http:\/\/dev.e-luda.com\/dev-note\/\",\"name\":\"\ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8\",\"description\":\"\ub2e4\ub978 \uc6cc\ub4dc\ud504\ub808\uc2a4 \uc0ac\uc774\ud2b8\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/dev.e-luda.com\/dev-note\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/?p=240#webpage\",\"url\":\"http:\/\/dev.e-luda.com\/dev-note\/?p=240\",\"name\":\"API Log \uad6c\uc131 \ud56d\ubaa9 - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8\",\"isPartOf\":{\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/#website\"},\"datePublished\":\"2020-05-22T07:45:27+00:00\",\"dateModified\":\"2022-04-25T02:17:08+00:00\",\"author\":{\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/#\/schema\/person\/7e381f3b46b7824adbe15ff43b53c42c\"},\"breadcrumb\":{\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/?p=240#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/dev.e-luda.com\/dev-note\/?p=240\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/?p=240#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/dev.e-luda.com\/dev-note\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Log \uad6c\uc131 \ud56d\ubaa9\"}]},{\"@type\":\"Person\",\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/#\/schema\/person\/7e381f3b46b7824adbe15ff43b53c42c\",\"name\":\"wizardlee\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/#personlogo\",\"inLanguage\":\"ko-KR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6eaa1dedfb9710f350bbf8ccb317e7cfa2a5a277b535c6558bc57169262ec430?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6eaa1dedfb9710f350bbf8ccb317e7cfa2a5a277b535c6558bc57169262ec430?s=96&d=mm&r=g\",\"caption\":\"wizardlee\"},\"sameAs\":[\"http:\/\/dev.e-luda.com\/dev-note\"],\"url\":\"http:\/\/dev.e-luda.com\/dev-note\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"API Log \uad6c\uc131 \ud56d\ubaa9 - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/dev.e-luda.com\/dev-note\/?p=240","og_locale":"ko_KR","og_type":"article","og_title":"API Log \uad6c\uc131 \ud56d\ubaa9 - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8","og_description":"API Log\uc5d0 \uae30\ub85d\ub420 \ud56d\ubaa9\ub4e4\uc744 \uc544\ub798\uc640 \uac19\uc774 \uc815\ub9ac\ud574 \ubcf4\uc558\ub2e4.*\ud45c\uc2dc\uac00 \ubd99\uc740 \ud56d\ubaa9\uc740 \uac00\uae09\uc801 \ud3ec\ud568\uc2dc\ucf1c\uc57c \ud558\ub294 \ud56d\ubaa9\uc774\ub2e4. &#8211; api transaction id*\u318d\uad6c\uc131\uc608 : api was\uc758 host\uba85 + \u2018-\u2019 + api was\uc5d0\uc11c \uc0dd\uc131\ud55c uuid\u318dhost name \uc870\ud68c \ubc29\ubc95 \uc608(java) : InetAddress.getLocalHost().getHostName()\u318duuid \ud68d\ub4dd \ubc29\ubc95 \uc608(java) : UUID.randomUUID()\u318d\uc0dd\uc131 : WAS &#8211; client trnsaction id\u318dclient\uc5d0\uc11c \uc804\ub2ec\ud55c client transaction id\u318d\uc0dd\uc131 : request header &#8211; result &hellip; \ub354 \ubcf4\uae30 \"API Log \uad6c\uc131 \ud56d\ubaa9\"","og_url":"http:\/\/dev.e-luda.com\/dev-note\/?p=240","og_site_name":"\ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8","article_published_time":"2020-05-22T07:45:27+00:00","article_modified_time":"2022-04-25T02:17:08+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"wizardlee","Est. reading time":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"http:\/\/dev.e-luda.com\/dev-note\/#website","url":"http:\/\/dev.e-luda.com\/dev-note\/","name":"\ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8","description":"\ub2e4\ub978 \uc6cc\ub4dc\ud504\ub808\uc2a4 \uc0ac\uc774\ud2b8","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/dev.e-luda.com\/dev-note\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"http:\/\/dev.e-luda.com\/dev-note\/?p=240#webpage","url":"http:\/\/dev.e-luda.com\/dev-note\/?p=240","name":"API Log \uad6c\uc131 \ud56d\ubaa9 - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8","isPartOf":{"@id":"http:\/\/dev.e-luda.com\/dev-note\/#website"},"datePublished":"2020-05-22T07:45:27+00:00","dateModified":"2022-04-25T02:17:08+00:00","author":{"@id":"http:\/\/dev.e-luda.com\/dev-note\/#\/schema\/person\/7e381f3b46b7824adbe15ff43b53c42c"},"breadcrumb":{"@id":"http:\/\/dev.e-luda.com\/dev-note\/?p=240#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["http:\/\/dev.e-luda.com\/dev-note\/?p=240"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/dev.e-luda.com\/dev-note\/?p=240#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/dev.e-luda.com\/dev-note"},{"@type":"ListItem","position":2,"name":"API Log \uad6c\uc131 \ud56d\ubaa9"}]},{"@type":"Person","@id":"http:\/\/dev.e-luda.com\/dev-note\/#\/schema\/person\/7e381f3b46b7824adbe15ff43b53c42c","name":"wizardlee","image":{"@type":"ImageObject","@id":"http:\/\/dev.e-luda.com\/dev-note\/#personlogo","inLanguage":"ko-KR","url":"https:\/\/secure.gravatar.com\/avatar\/6eaa1dedfb9710f350bbf8ccb317e7cfa2a5a277b535c6558bc57169262ec430?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6eaa1dedfb9710f350bbf8ccb317e7cfa2a5a277b535c6558bc57169262ec430?s=96&d=mm&r=g","caption":"wizardlee"},"sameAs":["http:\/\/dev.e-luda.com\/dev-note"],"url":"http:\/\/dev.e-luda.com\/dev-note\/?author=1"}]}},"_links":{"self":[{"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=\/wp\/v2\/posts\/240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=240"}],"version-history":[{"count":1,"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=\/wp\/v2\/posts\/240\/revisions"}],"predecessor-version":[{"id":556,"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=\/wp\/v2\/posts\/240\/revisions\/556"}],"wp:attachment":[{"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}