This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Livelog on the console ?

I'm searching a way of having the livelog showed on a tty on the console, to have it eternally opened
The usual livelog is great, but you can't see it from the console, it closes when your session expires plus you have to be logged in to see it ...
Is there a way to export the livelog to the console, like doing a 'tail -f' ? Where is the livelog file, and is it readable that way ?  


This thread was automatically locked due to age.
Parents
  • edit syslog.conf, and syslog.conf-default in /etc
    add at the end 
    *.*                                /dev/tty12

    Kill syslog, and press alt-F12, and you'll see everything coming up just nicely. 
  • Another option is to create a dedicated restricted login account (with a trap statement in its startup) to do the tail of the log (once you redirect to a file first, by editiing the syslog). This way you don't get stuff always printing on your console, and root is not sitting open on the console (I don't know what your physical environment is).

    By the way, tail can reexecute on a timing interval by supplying it with a timing interval argument;
    see tail --help...
  • I'm not sure what  you mean. root is not open on the console, the logs just show up on the console, it does not require a root session to be open. Am I missing something here  [:S] 
  • All I was saying is that root would be open if you want to use tail from the console. To do it the way you suggested certainly works, but could become a problem if you need to hop onto console to screen edit something (what with the log messages spitting out while you're trying to edit...)
      
  • Then you'd hit ALT-F1 to get back to the primary console.
    (ALT-F12 is the log console) 
  • Throw me a link; I am not finding good documentation on that...
      
Reply Children
No Data