Hi, I would like to know if it is possible/wise to log messages sent to the console? Unattended machines without monitors usually report messages during bootup that I never see since they are exclusively directed to the console. During normal operations I believe there are messages that can be sent exclusively to the console (ie: perl -w warning messages when the perl script process is run/forked from a background process without a controlling terminal) and these messages are never seen/logged. I am wondering if I can set the console up as a source for syslog-ng on these machines without monitors?
I would like to know if it is possible/wise to log messages sent to the console?
Unattended machines without monitors usually report messages during bootup that I never see since they are exclusively directed to the console. During normal operations I believe there are messages that can be sent exclusively to the console (ie: perl -w warning messages when the perl script process is run/forked from a background process without a controlling terminal) and these messages are never seen/logged.
I am wondering if I can set the console up as a source for syslog-ng on these machines without monitors?
Hmmm... maybe creating a named pipe named /dev/console (or /dev/tty) and using this as source pipe for syslog-ng would work. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
participants (2)
-
Balazs Scheidler
-
Erich Reitz