LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-03-2006, 03:35 AM   #1
nkanthikiran
LQ Newbie
 
Registered: Jun 2005
Posts: 10

Rep: Reputation: 0
Forwarding the Apache HTTPD log reporter to a specific port


Hi All,

I require to redirect the logging of apache logs to a specific port instead of a file ( example :: .....httpd/logs/access_log )

I am thinking of writing a script which would " tail " the access_log
directly to a port instead of a log file.

and also guide me to make the script daemon using xinetd


Thank You
Kanthi
 
Old 11-03-2006, 04:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
your idea seems viable, but i would personally look to other methods of doing this properly. a formal syslog solution should be more than possible... check this out, looks very handy:

http://www.oreillynet.com/pub/a/sysa...pd-syslog.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Up a Service to Send Apache HTTP 2.2 Reporter Log to a Socket nkanthikiran Red Hat 0 11-02-2006 11:07 PM
forwarding a specific port from eth0 to eth1 zovres Linux - Networking 2 05-02-2006 10:01 PM
another httpd port forwarding question dsp444 Linux - Networking 3 01-19-2005 07:26 PM
Is it possible to log packets in/out of a specific port? jon_k Linux - Software 5 08-12-2004 06:07 AM
Apache Log broke using iptables and port forwarding rwyarbrough Linux - Networking 1 01-14-2004 08:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration