Next: , Previous: , Up: mgetty   [Contents]


2.4 Log files

mgetty will normally write all actions into a logfile, named LOG_PATH.<device> (LOG_PATH is defined policy.h), e.g. /var/log/mgetty.ttyxx, so you can easily see what’s happening in your system. (If a fatal error occurs, the error message is also written to the console, and if that is not possible, mailed to ‘ADMIN’). The name of the log file can be changed in policy.h.

If mgetty is compiled with -DSYSLOG, auditing and error log messages will also go to syslog (if your system supports it).