Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.emacs.help > #60700

Using Emacs for keeping an eye on a logfile

Path csiph.com!news.mixmin.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups gnu.emacs.help
Subject Using Emacs for keeping an eye on a logfile
Date Thu, 30 Mar 2023 07:18:16 +0200
Organization Decebal Computing
Lines 13
Message-ID <87tty2keav.fsf@munus.decebal.nl> (permalink)
MIME-Version 1.0
Content-Type text/plain
Injection-Info dont-email.me; posting-host="f63cbbb829732f3d519cd3ed277b2435"; logging-data="765844"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19J9xPuHjiZ6kF41jhLLaVo5robi7cfX6o="
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock sha1:8NNLMkyFUEiDiXG7+VmuhddvtgM= sha1:DgDdNubf2Ut0R1mKEuVpZXJCTgM=
Xref csiph.com gnu.emacs.help:60700

Show key headers only | View raw


I am using Emacs to keep an eye on a log-file. I can see what has
changed and giving two times F9 I can later see what has changed
again.
I keep the cursor at the end of the file and have auto-revert-mode on.
Works great with one slight problem. When the file grows often the
last line is not at the bottom of the screen. I can solve this by
giving three time C-l, but that is a little nuisance. Is there a way
to have the last line always at the bottom of the screen?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Back to gnu.emacs.help | Previous | NextNext in thread | Find similar


Thread

Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-03-30 07:18 +0200
  Re: Using Emacs for keeping an eye on a logfile HASM <hasm@example.invalid> - 2023-03-30 04:47 -0700
    Re: Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-03-30 17:49 +0200
      Re: Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-03-30 18:44 +0200
        Re: Using Emacs for keeping an eye on a logfile HASM <hasm@example.invalid> - 2023-03-30 10:53 -0700
          Re: Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-03-31 08:57 +0200
        Re: Using Emacs for keeping an eye on a logfile "W. Greenhouse" <wgreenhouse@tilde.club> - 2023-04-02 15:17 +0000
          Re: Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-04-02 20:59 +0200
  Re: Using Emacs for keeping an eye on a logfile Manuel Giraud <manuel@ledu-giraud.fr> - 2023-04-03 14:11 +0200
    Re: Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-04-03 18:59 +0200
      Re: Using Emacs for keeping an eye on a logfile Manuel Giraud <manuel@ledu-giraud.fr> - 2023-04-05 10:27 +0200

csiph-web