From owner-freebsd-questions@FreeBSD.ORG Mon Jul 27 05:20:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 660921065670 for ; Mon, 27 Jul 2009 05:20:24 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-ew0-f217.google.com (mail-ew0-f217.google.com [209.85.219.217]) by mx1.freebsd.org (Postfix) with ESMTP id E8E8D8FC1D for ; Mon, 27 Jul 2009 05:20:23 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by ewy17 with SMTP id 17so1090221ewy.43 for ; Sun, 26 Jul 2009 22:20:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6Ka468Cpd8a9s5KBQuej2a8HEqnAz6a+bjce8zaz8j0=; b=bmCY57Zx3XKQvOCP1ombeG4kp0rFlTmkvtF0I/nPZ6eu+ZCXYNoUf6MkKdsqG8wdF0 vSs/JAGO/jDiDIZetD4Ce3xVG3lH+BQucNpUc01AIt9xVapyn6e5jP8ZfGcQk3242QnH BggXQT7pI8zMBSC4onF0Qidlf5PGs4XV5pFI0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZdaciqEtyYeXT0DR2FxkGHmQ9pBQX+iCZmRo11ZRrUGHsjXJQUfwjZj4aYmJMzHRwJ fWflP+7e5bVLE5Z+YmspARc6BkpZov3wd9ciFz7CiwA+GmK7x+aleW532SdrWzNrxTPw btqSOknJrn9IbU/pwBMgVvJrAdQ8TKFkIBJIA= MIME-Version: 1.0 Received: by 10.210.138.6 with SMTP id l6mr7822336ebd.25.1248672023045; Sun, 26 Jul 2009 22:20:23 -0700 (PDT) In-Reply-To: <20090727030023.GV63413@dan.emsphone.com> References: <64c038660907261640o478e38f2p82d1e66942d2fcb0@mail.gmail.com> <20090727030023.GV63413@dan.emsphone.com> Date: Sun, 26 Jul 2009 23:20:23 -0600 Message-ID: <64c038660907262220w3eeca9d9h2fb41fac6cbe4bfc@mail.gmail.com> From: Modulok To: Dan Nelson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Syslog date format X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 05:20:24 -0000 One would think that ISO 8601 date strings would make more sense, in addition not being language dependent. But I guess that's out. Thanks anyway! -Modulok- On 7/26/09, Dan Nelson wrote: > In the last episode (Jul 26), Modulok said: >> Is it possible (without patching source) to change the date format >> that syslog spits out into the log files? If so, how? The manual page >> makes no mention of it. > > No, if you want to change it you'd have to edit the source. Note that the > current date format matches RFC 3164, so if you change it, you risk breaking > any parsing program that tries to read the logfiles, and if you forward > those messages to another machine, they won't recognise your timestamp and > will probably add another timestamp to the line. > > -- > Dan Nelson > dnelson@allantgroup.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >