View previous topic :: View next topic |
Author |
Message |
dark_teferi Tux's lil' helper


Joined: 07 Aug 2003 Posts: 138 Location: AZ
|
Posted: Fri Oct 31, 2003 5:43 am Post subject: Apache Log |
|
|
Hey everyone. how do i print my apache log to either a terminal or root-tail so that my log just stays there with no shell prompt and everytime someone new connects to my httpd server it woudl show up automatically. someone probably already answered this, but if you could point me to an informative thread, that would help a lot. _________________ "Rain from this storm leaves you pinned to the ground like an insect" |
|
Back to top |
|
 |
magnet Guru


Joined: 16 Mar 2003 Posts: 582 Location: france
|
Posted: Fri Oct 31, 2003 9:16 am Post subject: |
|
|
you can edit /etc/inittab,check for a line like this one :
cX:12345:respawn:/sbin/agetty 38400 ttyX linux
where X is the console you want to show the log.
edit it , to put :
/usr/bin/tail -f /path/to/your/logfile
instead of
/sbin/agetty 38400 ttyX linux. _________________ every step aim at glory. |
|
Back to top |
|
 |
|