{"id":863,"date":"2011-12-28T14:11:00","date_gmt":"2011-12-28T14:11:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2011\/12\/28\/logging-write-logs-for-machines-use-json\/"},"modified":"2011-12-28T14:11:00","modified_gmt":"2011-12-28T14:11:00","slug":"logging-write-logs-for-machines-use-json","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2011\/12\/28\/logging-write-logs-for-machines-use-json\/","title":{"rendered":"logging: Write Logs for Machines, use JSON"},"content":{"rendered":"<p>\t\t\t\t<a href=\"http:\/\/journal.paul.querna.org\/articles\/2011\/12\/26\/log-for-machines-in-json\/\">Write Logs for Machines, use JSON | Paul&#8217;s Journal<\/a><\/p>\n<div>\n<\/div>\n<div>\nLooks like a nice new challenge to use JSON also for debug \/ trace output.<\/div>\n<div>\nI always found unstructured debug \/ trace output awful, and of course mine has been &#8220;<i>key-value<\/i>&#8221; for a long time.<br \/>\nI learned that &#8220;at home&#8221;, the Karlsruhe Ada Compiler construction team, back in the 80-s.<\/p>\n<p><\/p>\n<ul>\n<li><a href=\"http:\/\/www.graylog2.org\/about\/gelf\">Graylog Extended Log Format<\/a><\/li>\n<li>ruby, github: <a href=\"https:\/\/github.com\/Graylog2\/gelf-rb\">https:\/\/github.com\/Graylog2\/gelf-rb<\/a><\/li>\n<li>perl, METACPAN:\u00a0<a href=\"https:\/\/metacpan.org\/module\/Log::Log4perl::Layout::GELF\">Log::Log4perl::Layout::GELF<\/a><\/li>\n<li>perl, github:\u00a0<a href=\"https:\/\/github.com\/cowholio4\/log4perl_gelf\">log4perl_gelf<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Write Logs for Machines, use JSON | Paul&#8217;s Journal Looks like a nice new challenge to use JSON also for debug \/ trace output. I always found unstructured debug \/ trace output awful, and of course mine has been &#8220;key-value&#8221; for a long time. I learned that &#8220;at home&#8221;, the Karlsruhe Ada Compiler construction team, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[289],"tags":[],"class_list":["post-863","post","type-post","status-publish","format-standard","hentry","category-json"],"share_on_mastodon":{"url":"","error":""},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-dV","jetpack_likes_enabled":true,"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=863"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/863\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}