all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Filipp Gunbin <fgunbin@fastmail.fm>
To: Eike <eike@eknet.org>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: View log files with emacs
Date: Tue, 17 Feb 2015 22:06:26 +0300	[thread overview]
Message-ID: <m27fvgl5n1.fsf@fastmail.fm> (raw)
In-Reply-To: <871tloczw8.fsf@eknet.org> (eike@eknet.org's message of "Tue, 17 Feb 2015 16:37:43 +0100")

On 17/02/2015 16:37 +0100, Eike wrote:

> Hello all,
>
> I have to look at some log files more often now and was wondering if
> there are some handy things for emacs in that regard? I'm aware of
> log4j-mode, but couldn't find more. It's for java (logback and log4j)
> log files so I'd like to do fold stacktraces etc and also remove certain
> parts I'm not interested in to make the file smaller (we seem to log
> more useless than useful stuff…).

Hi,

I'm not aware of special modes for e.g. java log files (although I do
read them very often), but there are certainly some handy general
things:

1) `auto-revert-tail-mode' - see its doc for the description.  Great for
looking at a growing log.  In fact, you don't need `less' or `tail -f'
with it any more.  See also `auto-revert-remote-files' variable.  You
might also want to set `auto-revert-verbose' to nil.

2) `vlf' package (View Large Files).  See its description.  Very
convenient for huge log files.  I use it quite rarely, though.

3) Combined with Tramp (and grep :) these provide enough functionality
for me.

Filipp



  parent reply	other threads:[~2015-02-17 19:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-17 15:37 View log files with emacs Eike
2015-02-17 15:43 ` Drew Adams
2015-02-17 18:58   ` Alex Kost
2015-02-17 20:04     ` Eike
2015-02-23 21:53     ` Steinar Bang
2015-02-23 22:17       ` John Mastro
2015-02-24 12:14       ` Alex Kost
2015-02-17 19:06 ` Filipp Gunbin [this message]
2015-02-17 20:13   ` Eike
2015-02-18  7:23 ` Tassilo Horn
2015-02-18  8:39   ` Eike

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=m27fvgl5n1.fsf@fastmail.fm \
    --to=fgunbin@fastmail.fm \
    --cc=eike@eknet.org \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.