View previous topic :: View next topic |
Author |
Message |
x-scotland n00b
Joined: 26 May 2007 Posts: 1
|
Posted: Sat May 26, 2007 6:31 pm Post subject: Configdatei anschauen |
|
|
Hi schaut euch mal den die Config-Datei an ...
Code: |
# By default messages are logged to tty12...
destination console_all { file("/dev/tty12"); };
# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
#destination console_all { file("/dev/console"); };
log { source(src); destination(messages); };
log { source(src); destination(console_all); };
|
entferne, mal das '#' vor der Zeile Code: | #destination console_all { file("/dev/console"); }; | , damit sollte der Syslog wieder laufen
MfG
x-scotland |
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Sun May 27, 2007 6:27 am Post subject: |
|
|
Code: |
# By default messages are logged to tty12...
destination console_all { file("/dev/tty12"); };
# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
#destination console_all { file("/dev/console"); };
|
x-scotland wrote: | entferne, mal das '#' vor der Zeile
Code: | #destination console_all { file("/dev/console"); }; |
, damit sollte der Syslog wieder laufen
|
Dem würde ich mal ohne Test widersprechen.
Code: |
destination console_all { file("/dev/tty12"); };
destination console_all { file("/dev/console"); };
|
Hier entscheidest du nur, wohin du das Console-Logging schicken willst (/dev/tty12 oder /dev/console). Bei mir ist das auch per default so eingetragen, wie im Ursprungsposting. Und da läuft es. |
|
Back to top |
|
|
AROK Guru
Joined: 31 Jul 2006 Posts: 442 Location: D und CH
|
Posted: Mon May 28, 2007 11:06 am Post subject: |
|
|
Quote: |
# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
#destination console_all { file("/dev/console"); };
| ...if you intend to use /dev/console for programs like xconsole
Bei mir geht es auch prima mit tty12.
Wenn es an der Config-Datei läge, würde syslog-ng das auch so sagen, sogar mit genaueren Angaben. Habe neulich mal das Logging komplett neu aufgeteilt, daher weiß ich, wovon ich rede Woran dein Problem liegt, weiß ich aber leider auch nicht. Ein debug USEFlag gibt es ja leider auch nicht..
Gruß
AROK |
|
Back to top |
|
|
|
|
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
|
|