Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache Log
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dark_teferi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2003
Posts: 138
Location: AZ

PostPosted: Fri Oct 31, 2003 5:43 am    Post subject: Apache Log Reply with quote

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
View user's profile Send private message
magnet
Guru
Guru


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Fri Oct 31, 2003 9:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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