From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QQgMB-0004Z2-Ac for garchives@archives.gentoo.org; Sun, 29 May 2011 13:48:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E31401C02A; Sun, 29 May 2011 13:47:04 +0000 (UTC) Received: from mail.ukfsn.org (mail.ukfsn.org [77.75.108.10]) by pigeon.gentoo.org (Postfix) with ESMTP id 9A0311C02A for ; Sun, 29 May 2011 13:47:04 +0000 (UTC) Received: from localhost (smtp-filter.ukfsn.org [192.168.54.205]) by mail.ukfsn.org (Postfix) with ESMTP id CF54FDEC22 for ; Sun, 29 May 2011 14:47:03 +0100 (BST) Received: from mail.ukfsn.org ([192.168.54.25]) by localhost (smtp-filter.ukfsn.org [192.168.54.205]) (amavisd-new, port 10024) with ESMTP id wgxgyGPG-+mK for ; Sun, 29 May 2011 14:47:03 +0100 (BST) Received: from wstn.localnet (unknown [78.32.181.186]) by mail.ukfsn.org (Postfix) with ESMTP id 9BF87DEC05 for ; Sun, 29 May 2011 14:47:03 +0100 (BST) From: Peter Humphrey Organization: at home To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Converting time formats Date: Sun, 29 May 2011 14:47:02 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.37-gentoo-r4; KDE/4.6.2; x86_64; ; ) References: <4DE124C2.3050809@gmail.com> <1306630097.9523.9.camel@rattus> In-Reply-To: <1306630097.9523.9.camel@rattus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201105291447.02803.peter@humphrey.ukfsn.org> X-Archives-Salt: X-Archives-Hash: 4e72df31b6458b2fc3f2a80a136d3a7d On Sunday 29 May 2011 01:48:17 William Kenworthy wrote: > As well as your other replies, check out ccze [...] > Pass your log through it for nicely coloured text (words like "alarm" > and "error" are bright red to stand out) as well as converting date > epoch on the fly, leaving it in context. That looked interesting, so I tried it. I got the following from "cat /var/log/emerge.log | ccze -C | tail" (sorry about the line wraps, which for some reason I can't switch off at the moment in kmail). Not only did it not convert the timestamps; it overwrote my command. I did get colours though. 1306665698: *** exiting unsuccessfully with status 'None'. g/emerge.log | ccze -C | tail 1306665698: *** terminating. 1306675942: Started emerge on: May 29, 2011 14:32:22 1306675942: *** emerge --jobs --buildpkg --keep-going --verbose --nospinner --with-bdeps --ask ccze 1306675947: >>> emerge (1 of 1) app-admin/ccze-0.2.1-r2 to / 1306675947: === (1 of 1) Cleaning (app-admin/ccze-0.2.1- r2::/usr/portage/app-admin/ccze/ccze-0. 2.1-r2.ebuild) 1306675952: === (1 of 1) Compiling/Packaging (app-admin/ccze-0.2.1- r2::/usr/portage/app-admin/c cze/ccze-0.2.1-r2.ebuild) 1306675965: === (1 of 1) Merging (app-admin/ccze-0.2.1- r2::/usr/portage/app-admin/ccze/ccze-0.2 .1-r2.ebuild) 1306675968: >>> AUTOCLEAN: app-admin/ccze:0 1306675969: === (1 of 1) Updating world file (app-admin/ccze-0.2.1-r2) 1306675969: === (1 of 1) Post-Build Cleaning (app-admin/ccze-0.2.1- r2::/usr/portage/app-admin/c cze/ccze-0.2.1-r2.ebuild) 1306675969: ::: completed emerge (1 of 1) app-admin/ccze-0.2.1-r2 to / 1306675969: *** Finished. Cleaning up... 1306675970: *** exiting successfully. 1306675970: *** terminating. (Something is weird on this box. I posted recently about lockups in flash, but I now get them at random times even when flash is not running.) -- Rgds Peter