LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-13-2006, 12:26 PM   #1
jmj99385
Member
 
Registered: Aug 2005
Distribution: Slackware, Fedora, CentOS
Posts: 42

Rep: Reputation: 15
Trying to link logs to TTY12


Here's my issue.

I would like to be able to switch over to tty12 and see the system activity logs scrolling down the page. Problem is, I don't know where to start!

If you've done it before, I would appreciate any advice you might have. Thank you!
 
Old 04-13-2006, 12:34 PM   #2
anon237
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

You need to add/change a line in your /etc/syslog.conf

kern.warn;*.err /dev/tty12

This will print kernel warnings (and more severe) and all errors (and more severe) to /dev/tty12 You can change what you want to print by changing facility and level.

man syslog.conf for details.

You do need to restart syslogd after changing /etc/syslog.conf

Hope this helps.
 
Old 04-13-2006, 02:32 PM   #3
jmj99385
Member
 
Registered: Aug 2005
Distribution: Slackware, Fedora, CentOS
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna
Hi,

You need to add/change a line in your /etc/syslog.conf

kern.warn;*.err /dev/tty12

This will print kernel warnings (and more severe) and all errors (and more severe) to /dev/tty12 You can change what you want to print by changing facility and level.

man syslog.conf for details.

You do need to restart syslogd after changing /etc/syslog.conf

Hope this helps.

It helps a great deal! Thank you very much Druuna! I'm actually going to use this on my bosses' new Slack desktop. Now for the office server, is it possible to have all information go to tty12? Like all the apache logs, FreeRadius, clamav and such?
 
Old 04-13-2006, 02:50 PM   #4
anon237
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi again,

Not all programs use syslogd for the output generated. Some do have that possibility, but the default is otherwise, others 'only' have their own log facility.

I know apache can use syslogd (at least 2.0 can), don't know if the others you mention can. Take a look at the documentation, man pages and the net.

Do watch out that you don't log everything to a tty, it could case slowness. Something like *.* /dev/tty12 would be overkill. All, including debug(!!), messages generated will be send to tty12.

Hope this helps.
 
  


Reply

Tags
syslog


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu logs on, then logs back off generallee5686 Ubuntu 0 10-20-2005 02:11 PM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 03:22 PM
Separate firewall logs and general logs dominant Linux - General 3 04-20-2004 02:26 AM
tty09 - tty12 do not show ansi colors correctly danell_fip Linux - General 1 01-12-2004 04:42 PM
Apache logs - ???Linux logs??? mylo2003 Linux - General 3 08-07-2003 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration