{"blog_url":"https://anton0825.hatenablog.com/","author_name":"anton0825","categories":["node"],"provider_name":"Hatena Blog","width":"100%","height":"190","type":"rich","description":"logs4js\u3092\u4f7f\u3063\u3066\u30ed\u30b0\u3092\u51fa\u529b\u3057\u3066\u3044\u308b\u304c\u3001\u30ed\u30b0\u306e\u51fa\u529b\u5148\u3092~/logs/app.log\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u3066\u3082\u51fa\u529b\u3067\u304d\u306a\u304b\u3063\u305f\u3002 \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u51fa\u529b\u3067\u304d\u305f\u3002 log4js.configure({ appenders: [{ \"type\": \"dateFile\", \"filename\": \"#{process.env[\"HOME\"]}/logs/#{executingFileName}.log\", \"pattern\": \"-yyyy-MM-dd\" }] }) Windows\u74b0\u5883\u3067\u3082\u52d5\u304b\u3059\u306a\u3089\u4ee5\u4e0b\u3092\u4f7f\u3046\u3002 process.env[(process.platform == 'win32') ? 'US\u2026","image_url":null,"published":"2014-08-29 16:39:42","blog_title":"\u65e5\u3005\u7cbe\u9032","url":"https://anton0825.hatenablog.com/entry/20140829/1413531582","author_url":"https://blog.hatena.ne.jp/anton0825/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanton0825.hatenablog.com%2Fentry%2F20140829%2F1413531582\" title=\"node\u3067HOME\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b - \u65e5\u3005\u7cbe\u9032\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","title":"node\u3067HOME\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b","version":"1.0"}