Skip to main content

All Questions

Tagged with
0 votes
1 answer
90 views

Strip off previous lines in tail or less

I'm using tail -f or less +F to observe a changing log-file. I know from a certain point the lines I'm looking for are going to appear. So all that garbage before that point I don't require and would ...
Qohelet's user avatar
  • 155
62 votes
6 answers
10k views

Alternative for "tail -f" that follows filename

I have some logs being generated using a timed rotating file logger. This logs to a file called tool.log, and at midnight, moves this to tool.log.<date> and starts a new tool.log. I have a tail ...
Hugh's user avatar
  • 1,211
1 vote
2 answers
315 views

Watching logs with less +F freezes after a while

less +F is a great command for watching logs, but it has very annoying issue. After a while it stops updating log file and requires restart. Is there any way to make it follow file forever?
Marcin Szymczak's user avatar
1 vote
1 answer
186 views

How do I run Logstalgia if root login is disabled and ssh user doesn't have access to logs?

I'm trying to run Logstalgia, I think it's pretty awesome, and want to try it out. For security reasons I've disabled root login from my servers. My current user doesn't have access to the log files ...
trueCamelType's user avatar
19 votes
4 answers
3k views

Linux command line log viewer which allows auto tail AND searching?

I use tail -f in my Linux shell, to view log files, as I like how it auto-updates with the incoming text: I like to see the new stuff come scrolling in. However, I also like the search functionality ...
Max Williams's user avatar
  • 3,029
4 votes
5 answers
3k views

Linux application to tail multiple log files (like OS X Console.app)

I'm constantly tailing log files. At any given time I've got half a dozen terminal windows open that are simply running tail -f . In OS X, the Console app is brilliant. All the usual log files are ...
rcourtna's user avatar
  • 193