Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel messages
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
MTZ
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2002
Posts: 90
Location: Germany - near FFM

PostPosted: Sun Jul 14, 2002 4:31 pm    Post subject: Kernel messages Reply with quote

HiHo,

gibts eine Moeglichkeit diese Kernel Messages umzuleiten, dass sie nicht immer gerade in der Konsole wild erscheinen wo man gerade ist ?

Bei SuSE kommen die ja auch auf einer seperaten (CTRL+F10)

Idee ?

Greetz
MTZ
Back to top
View user's profile Send private message
juwe
n00b
n00b


Joined: 11 Jul 2002
Posts: 26

PostPosted: Sun Jul 14, 2002 9:13 pm    Post subject: Reply with quote

Bei SuSE war syslog der Standard System-Logger. Die Konfiguration erfolgte mittels /etc/syslog.conf (unter anderem die Ausgabe von Systemnachrichten auf /dev/tty10).

Welchen Logger hast du denn installiert ?
Back to top
View user's profile Send private message
juwe
n00b
n00b


Joined: 11 Jul 2002
Posts: 26

PostPosted: Sun Jul 14, 2002 9:37 pm    Post subject: Reply with quote

Falls du metalog verwendest, dann kannst du /etc/metalog/metalog.conf editieren.

Zuerst legst du den logging level fest (zwischen 0 und 7). 7 bedeutet, daß alles geloggt wird (steht jedenfalls so im Gentoo Linux Security Guide).
Code:

maxsize = 1000000
maxtime = 86400
maxfiles = 7
minimum = 7
...


Dann hängst du die folgenden Zeilen an (oder entkommentierst sie):
Code:

  facility = "*"
  command = "/usr/sbin/consolelog.sh"


Im script /usr/sbin/consolelog.sh kannst du die Console angeben auf der die Meldungen ausgegeben werden. (Standard ist /dev/vc/10, d.h. per CTRL+F10 zu erreichen).

Jetzt muß metalog noch neu gestartet werden:
Code:

/etc/init.d/metalog stop start


Gruß juwe
Back to top
View user's profile Send private message
MTZ
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2002
Posts: 90
Location: Germany - near FFM

PostPosted: Mon Jul 15, 2002 6:45 am    Post subject: Reply with quote

HiHo,

ich werde mal schaun, ich benutze den 'sysklogd'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum