<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hotch-potch</author_name>
  <author_url>https://blog.hatena.ne.jp/hotch-potch/</author_url>
  <blog_title>hotch-potch, Note to self</blog_title>
  <blog_url>https://hotch-potch.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>１．はじめに ２．やりたいこと ２．実験 （１）環境づくり （２）yamlファイルの設定 （３）Python側の書き方 ファイル main.py ファイル appclass.py （４）実行してみる ログの内容 ４．まとめ 参考資料 １．はじめに systemdなどから起動するバックグラウンド動作アプリを作る機会が増えてきて、ログ(logging)の扱い方を整理しました。 ２．やりたいこと loggingモジュールの挙動を、外部のyamlファイルから定義したい ログファイルの肥大化を抑制したい（自動ローテートしたい） クラス・モジュールごとの表示レベルを調整したい ログの出力先を、画面とログフ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhotch-potch.hatenadiary.jp%2Fentry%2F2022%2F06%2F30%2F220000&quot; title=&quot;Python Loggerの設定をYAMLファイルで指定 - hotch-potch, Note to self&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://cdn-ak.f.st-hatena.com/images/fotolife/h/hotch-potch/20220630/20220630171701.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-06-30 22:00:00</published>
  <title>Python Loggerの設定をYAMLファイルで指定</title>
  <type>rich</type>
  <url>https://hotch-potch.hatenadiary.jp/entry/2022/06/30/220000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
