From: Peter Humphrey <peter@humphrey.ukfsn.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Converting time formats
Date: Sun, 29 May 2011 14:47:02 +0100 [thread overview]
Message-ID: <201105291447.02803.peter@humphrey.ukfsn.org> (raw)
In-Reply-To: <1306630097.9523.9.camel@rattus>
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
prev parent reply other threads:[~2011-05-29 13:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-28 16:37 [gentoo-user] Converting time formats Dale
2011-05-28 16:45 ` [gentoo-user] " Nikos Chantziaras
2011-05-28 16:50 ` [gentoo-user] " Alex Schuster
2011-05-28 17:31 ` Dale
2011-05-28 17:30 ` Florian Philipp
2011-05-29 0:48 ` William Kenworthy
2011-05-29 2:28 ` Dale
2011-05-29 10:10 ` Neil Bothwick
2011-05-29 13:55 ` Dale
2011-05-29 21:08 ` Neil Bothwick
2011-05-29 21:42 ` Dale
2011-05-29 22:18 ` Henry Gebhardt
2011-05-30 9:16 ` Florian Philipp
2011-05-29 10:08 ` Mick
2011-05-29 13:07 ` William Kenworthy
2011-05-29 13:47 ` Peter Humphrey [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201105291447.02803.peter@humphrey.ukfsn.org \
--to=peter@humphrey.ukfsn.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox