<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomotomo1129</author_name>
  <author_url>https://blog.hatena.ne.jp/tomotomo1129/</author_url>
  <blog_title>親バカエンジニアのナレッジ帳</blog_title>
  <blog_url>https://ti-tomo-knowledge.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Spring Boot</anon>
    <anon>MySQL</anon>
  </categories>
  <description>アプリケーション開発でのSQLログ application.ymlでの設定 アプリケーション開発でのSQLログ アプリケーションの開発をしている時、実行されたSQLのログを参照したい場面がありますよね。 想定外のSQLが実行されていないか確認したり、ボトルネックとなっているSQLを確認したりなど。 Spring BootではそのようなSQLの実行ログを簡単に見ることができます。今回の方法は、Spring Data JPAでデータベースへのアクセスをするものとします。 application.ymlでの設定 手順としては、application.ymlに以下を書き込むだけです。 logging:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fti-tomo-knowledge.hatenablog.com%2Fentry%2F2018%2F10%2F16%2F234212&quot; title=&quot;Spring Bootで実行SQLのログを取得する方法 - 親バカエンジニアのナレッジ帳&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/41S9rTNBONL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-16 23:42:12</published>
  <title>Spring Bootで実行SQLのログを取得する方法</title>
  <type>rich</type>
  <url>https://ti-tomo-knowledge.hatenablog.com/entry/2018/10/16/234212</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
