<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>komeiy</author_name>
  <author_url>https://blog.hatena.ne.jp/komeiy/</author_url>
  <blog_title>ぽぽぽぽーんのネットワークとOSS</blog_title>
  <blog_url>https://komeiy.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>メモです。アプリからログに書き込まれたタイミングを確認するなど、出力にタイムスタンプをつけたい時などに使います。 tail -f error.log | while read line; do printf &quot;$(date -u '+%F %T%z')\t$line\n&quot;; done 出力は以下のような感じです。 2015-11-06 23:14:38+0000 Nov 6 23:14:12 komei login[3783]: USER_PROCESS: 3783 ttys000 シェアして頂けると嬉しいです。 参考になったという方がいれば是非お願いしますm(_ _ )m モチベーション維持…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkomeiy.hatenablog.com%2Fentry%2F2015%2F11%2F07%2F140612&quot; title=&quot;tail -fの結果にタイムスタンプをつける方法のメモ - ぽぽぽぽーんのネットワークとOSS&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>http://cdn-ak.f.st-hatena.com/images/fotolife/k/komeiy/20150107/20150107164847.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-11-07 14:06:12</published>
  <title>tail -fの結果にタイムスタンプをつける方法のメモ</title>
  <type>rich</type>
  <url>https://komeiy.hatenablog.com/entry/2015/11/07/140612</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
