{"published":"2016-12-11 15:27:08","title":"python\u306elogging\u306e\u8a73\u7d30\u8a2d\u5b9a\u3092\u884c\u3046","blog_url":"https://paper.hatenadiary.jp/","blog_title":"\u3081\u3082","provider_url":"https://hatena.blog","width":"100%","author_name":"misos","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpaper.hatenadiary.jp%2Fentry%2F2016%2F12%2F11%2F152708\" title=\"python\u306elogging\u306e\u8a73\u7d30\u8a2d\u5b9a\u3092\u884c\u3046 - \u3081\u3082\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","image_url":null,"description":"\u5229\u7528\u3059\u308b\u305f\u3073\u306b\u8a2d\u5b9a\u3092\u6307\u5b9a\u3059\u308b .conf\u306b\u30ed\u30ae\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u6307\u5b9a\u3059\u308b \u8a73\u7d30 \u30c7\u30fc\u30bf\u89e3\u6790\u306e\u30b9\u30c6\u30c3\u30d7\u304c\u5927\u304d\u304f\u306a\u3063\u3066\u304f\u308b\u3068\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u51fa\u529b\u3057\u306a\u3044\u3068\u3069\u3053\u306b\u30a8\u30e9\u30fc\u304c\u304c\u5165\u3063\u305f\u304b\u3084\u30d0\u30b0\u306e\u30c1\u30a7\u30c3\u30af\u304c\u5927\u5909\u306b\u306a\u3063\u3066\u304f\u308b\u306e\u3067\u30e1\u30e2\u3002 \u5229\u7528\u3059\u308b\u305f\u3073\u306b\u8a2d\u5b9a\u3092\u6307\u5b9a\u3059\u308b \u4e00\u77ac\u4f7f\u3044\u305f\u3044\u6642\u3002 import logging LOG_OUTPUT = 'debug.log' logging.basicConfig(format='%(asctime)s:%(levelname)s:%(message)s', level=logging.DEBUG, filename=LOG_OUTPUT) logging.debug('debug_\u2026","type":"rich","author_url":"https://blog.hatena.ne.jp/misos/","categories":["python","\u30b3\u30fc\u30c9","\u30a8\u30e9\u30fc\u89e3\u6c7a"],"url":"https://paper.hatenadiary.jp/entry/2016/12/11/152708","height":"190"}