Timeline for Colored output in less when tailing a logfile
Current License: CC BY-SA 3.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 29, 2013 at 10:25 | comment | added | ctrl-alt-delor | Who pressed ctrl+c? That is not in the question. | |
| May 22, 2013 at 15:33 | history | edited | Mat | edited tags | |
| Apr 2, 2013 at 11:07 | vote | accept | Jes | ||
| Apr 2, 2013 at 11:07 | answer | added | Jes | timeline score: 3 | |
| Apr 2, 2013 at 11:00 | comment | added | Jes | The problem is that CTRL+C closes the pipe. The solution is to use a temporary file to tail the colored log into, then less that file. Found a similar question: superuser.com/questions/186793/less-tail-mode-pipes | |
| Mar 30, 2013 at 1:33 | answer | added | Gilles 'SO- stop being evil' | timeline score: 1 | |
| Mar 28, 2013 at 23:08 | answer | added | Dennis Kaarsemaker | timeline score: 1 | |
| Mar 27, 2013 at 15:46 | answer | added | smcg | timeline score: 0 | |
| Mar 27, 2013 at 14:31 | comment | added | phemmer | @Jes try pressing SHIFT+G when in less to have it grab new data and jump to the end | |
| Mar 27, 2013 at 14:01 | comment | added | Jes | Shift-f does not tail it. multitail is not an option, can't install anything on the server. | |
| Mar 27, 2013 at 13:33 | comment | added | Ulrich Dangel | have a look at multitail | |
| Mar 27, 2013 at 13:09 | history | edited | Jes | CC BY-SA 3.0 | added 72 characters in body |
| Mar 27, 2013 at 13:09 | comment | added | Jes | Colors are working, less is not tailing, it just reads what the file looks like when it's first opened. | |
| Mar 27, 2013 at 13:06 | comment | added | phemmer | You haven't stated your exact problem. What is not working? Is less not getting new output, is it stripping the colors, what? | |
| Mar 27, 2013 at 12:49 | comment | added | Marco | Is the file already coloured using ANSI escape sequences or do you need to add the colours as well? | |
| Mar 27, 2013 at 12:45 | history | asked | Jes | CC BY-SA 3.0 |