Re: [Json] Using JSON in log files
Tim Bray <tbray@textuality.com> Wed, 20 November 2013 17:16 UTC
Return-Path: <tbray@textuality.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E2CE1AE106 for <json@ietfa.amsl.com>; Wed, 20 Nov 2013 09:16:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ztOcHWAz9DJL for <json@ietfa.amsl.com>; Wed, 20 Nov 2013 09:16:42 -0800 (PST)
Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by ietfa.amsl.com (Postfix) with ESMTP id C838F1AE4B7 for <json@ietf.org>; Wed, 20 Nov 2013 09:16:39 -0800 (PST)
Received: by mail-vb0-f47.google.com with SMTP id x11so2984188vbb.20 for <json@ietf.org>; Wed, 20 Nov 2013 09:16:33 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=B7smrp+9/Z0Nwk+02DEzea/QnAMCQ89Yunjfm0Aw9oA=; b=f6LBUck3ZhWhNVQj9fOpqsFmi8XYwMIjm1NVnN97DgtLLbu9T1fpfChvRXeqanmIbX 35mVzkm1s9MG2p+394tT57eOXljsQKsedl44UAvxAKgaagPFt40yuHREVQpggIRe9qO9 FKjNV1PFNanqZcY/uv1O7yS8bOsquOSkpvH2TUwjxbT6QLYg6S2O3ahLoi7gAzVX9MmX E75mUlT+ImcQknarl4JFvAP99kWTt1l7ETGZtmNL8K7ecTCnXJfDUQLYRwInt//49CeT vHpXUHxloFELXIuIECZonmCDtLAttO/R4xP4bSMUEqP4qRspph/Xl9chDSeVr1weK+xD kOmA==
X-Gm-Message-State: ALoCoQnRiVqq63t2OLhZtXupWDo3hfZLynuAEdJrzs4TlWO/ZHFEgxXeA7gV26oIusuQ1rPZFAyI
MIME-Version: 1.0
X-Received: by 10.58.186.173 with SMTP id fl13mr1269102vec.31.1384967792967; Wed, 20 Nov 2013 09:16:32 -0800 (PST)
Received: by 10.220.198.199 with HTTP; Wed, 20 Nov 2013 09:16:32 -0800 (PST)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <g0qp8952rlt6j93estret25ushl8d1qf82@hive.bjoern.hoehrmann.de>
References: <CAMm+Lwj49w5qq3V8tLta_GPq3TT5A0FXuKww5RXHbe74dQ5jjA@mail.gmail.com> <g0qp8952rlt6j93estret25ushl8d1qf82@hive.bjoern.hoehrmann.de>
Date: Wed, 20 Nov 2013 09:16:32 -0800
Message-ID: <CAHBU6iuQ+kFgoSVFSBJoL6666pQC0YSXkZYNjDbUqNUGoo+-aA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Content-Type: multipart/alternative; boundary="047d7b6dd1c65381ba04eb9ef121"
Cc: Phillip Hallam-Baker <hallam@gmail.com>, JSON WG <json@ietf.org>
Subject: Re: [Json] Using JSON in log files
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Nov 2013 17:16:44 -0000
Check how XMPP skates around XML’s single-root-element rule. Me, I’d just have a log file containing a sequence of JSON texts. On Wed, Nov 20, 2013 at 9:02 AM, Bjoern Hoehrmann <derhoermi@gmx.net> wrote: > * Phillip Hallam-Baker wrote: > >This is not an extension I would want to use in an on-the-wire format. But > >for log files it is essential. Particularly in my case where the logs are > >digitally signed notary records. > > I use http://yaml.org/ for such purposes. It is a superset of JSON, in > a way. Converters to JSON, which you would need one way or another, are > readily available. You could also just cheat and say "It's JSON without > the encapsulating []". > -- > Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de > Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de > 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ > _______________________________________________ > json mailing list > json@ietf.org > https://www.ietf.org/mailman/listinfo/json >
- Re: [Json] Using JSON in log files Tatu Saloranta
- Re: [Json] Using JSON in log files Phillip Hallam-Baker
- [Json] Using JSON in log files Phillip Hallam-Baker
- Re: [Json] Using JSON in log files Bjoern Hoehrmann
- Re: [Json] Using JSON in log files Tim Bray
- Re: [Json] Using JSON in log files Erik Wilde
- Re: [Json] Using JSON in log files Phillip Hallam-Baker
- Re: [Json] Using JSON in log files Nico Williams
- Re: [Json] Using JSON in log files Ladislav Lhotka