)]}'
{"functions.sh":[{"author":{"_account_id":2475,"name":"Antoine Musso","email":"hashar@free.fr","username":"hashar"},"change_message_id":"a47563036fbe4f094a66e66ea88c09dd7cb72a8c","unresolved":false,"context_lines":[{"line_number":100,"context_line":""},{"line_number":101,"context_line":"# Let us prefix logs with the date/time which helps track slowness"},{"line_number":102,"context_line":"# done as an alias so we can pipe to it"},{"line_number":103,"context_line":"alias timestamper ts \u0027%Y-%m-%d %H:%M:%.S |\u0027"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"function fix_etc_hosts {"},{"line_number":106,"context_line":"    # HPcloud stopped adding the hostname to /etc/hosts with their"}],"source_content_type":"text/x-sh","patch_set":2,"id":"AAAAUH%2F%2FAMA%3D","line":103,"updated":"2014-01-19 14:34:05.000000000","message":"I guess an alias will do.  I could apparently pipe to a function:\n\n $ function timestamper {\n \u003e ts\n \u003e }\n $ echo -e \"foo\\nbar\\nzab\\n\"|timestamper \n jan 19 15:33:06 foo\n jan 19 15:33:06 bar\n jan 19 15:33:06 zab\n jan 19 15:33:06 \n $","commit_id":"282460e8d8d18cc4beee643e54028e296892b161"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"87f2e63b2f38516513d75ec3fcfd31f09d9ee07d","unresolved":false,"context_lines":[{"line_number":100,"context_line":""},{"line_number":101,"context_line":"# Let us prefix logs with the date/time which helps track slowness"},{"line_number":102,"context_line":"# done as an alias so we can pipe to it"},{"line_number":103,"context_line":"alias timestamper ts \u0027%Y-%m-%d %H:%M:%.S |\u0027"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"function fix_etc_hosts {"},{"line_number":106,"context_line":"    # HPcloud stopped adding the hostname to /etc/hosts with their"}],"source_content_type":"text/x-sh","patch_set":2,"id":"AAAAUH%2F%2FAK8%3D","line":103,"in_reply_to":"AAAAUH%2F%2FAMA%3D","updated":"2014-01-19 14:49:31.000000000","message":"hmmm... so ts is probably just not installed on the base system. Honestly, we should probably look at the changes to do that in devstack as well to get a unified ts log format.","commit_id":"282460e8d8d18cc4beee643e54028e296892b161"}]}
