Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2EDB510A0A for ; Mon, 3 Feb 2014 14:07:10 +0000 (UTC) Received: (qmail 11768 invoked by uid 500); 3 Feb 2014 14:07:07 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 11559 invoked by uid 500); 3 Feb 2014 14:07:06 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 11551 invoked by uid 99); 3 Feb 2014 14:07:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 14:07:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kxepal@gmail.com designates 74.125.82.50 as permitted sender) Received: from [74.125.82.50] (HELO mail-wg0-f50.google.com) (74.125.82.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 14:06:59 +0000 Received: by mail-wg0-f50.google.com with SMTP id l18so11956845wgh.29 for ; Mon, 03 Feb 2014 06:06:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=jxYHJXlBkP2yvrrk/N1PRoZAK6ZDziaoR8J9cL3SEBY=; b=X7ZqEsSupMLaff4pLfUAf8gTFOJGB3TEGCQcTw96jN3zy8DvG+TyYwc537rPD0yGI0 lhiH4W0gx5BAOT6/zMiGl7lBUFA5OzbViAdZc7wA9G3/v78hcExYHPCobrtyL5Cwjwdu /LeiIfCQB+LyOoKyQEP6Hi9QPlwFuWNekP4K3Nb9rRgbVsF4m+i5cpoJsfItzZ4rd1YF aRdK6LFYXxKXBRAvaKMzVjrK6LJvbowu0Nb2sBijVCeOaXdbTUbDUiIFMrREgSs2xrm+ 3KElXfcZR9rDdBRpdCsBu0vcCY6ND5qZq9ONf5dBVSB3YABVHonKmlHFMrGM1mGsgNy9 F4gw== MIME-Version: 1.0 X-Received: by 10.194.202.230 with SMTP id kl6mr24796178wjc.9.1391436399567; Mon, 03 Feb 2014 06:06:39 -0800 (PST) Received: by 10.180.74.140 with HTTP; Mon, 3 Feb 2014 06:06:39 -0800 (PST) In-Reply-To: <1391435558.31009.YahooMailNeo@web181705.mail.ne1.yahoo.com> References: <1391319607.37651.YahooMailNeo@web181704.mail.ne1.yahoo.com> <1391435558.31009.YahooMailNeo@web181705.mail.ne1.yahoo.com> Date: Mon, 3 Feb 2014 18:06:39 +0400 Message-ID: Subject: Re: Cannot get os_daemon api to function From: Alexander Shorin To: "user@couchdb.apache.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Feb 3, 2014 at 5:52 PM, Scott Weber wrot= e: > > Now I get an 'Invalid Log Message' when I try to log. My log message is = exactly: > ["log",{"log" : "The process started"}] Have you tried to pass just "The process started" string without object wrapper? I wonder why you trying to do this, since there is no much reasons for it. > There=E2=80=99s also an API for adding messages to CouchDB=E2=80=99s logs= . Its simply: > ["log", $MESG]\n > Where $MESG is any arbitrary JSON. There is no response from this command= . As > with the config API, the trailing \n represents a newline byte Probably "any arbitrary JSON" is too greedy definition since the only acceptable JSON try is a string one. -- ,,,^..^,,,