all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eike <eike@eknet.org>
To: Filipp Gunbin <fgunbin@fastmail.fm>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: View log files with emacs
Date: Tue, 17 Feb 2015 21:13:05 +0100	[thread overview]
Message-ID: <871tlouwj2.fsf@ithaka.home> (raw)
In-Reply-To: <m27fvgl5n1.fsf@fastmail.fm>


Filipp Gunbin writes:

> 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

Hi Filipp,

these are very good points thanks a lot! I didn't know about the first
two, I'll look into it.

Regards,
Eike

--
gpg: AD7AC35E
finger print: 137F BB0B 1639 D25F DC5D  E59C B412 C5F5 AD7A C35E



  reply	other threads:[~2015-02-17 20:13 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
2015-02-17 20:13   ` Eike [this message]
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=871tlouwj2.fsf@ithaka.home \
    --to=eike@eknet.org \
    --cc=fgunbin@fastmail.fm \
    --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.