LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Feedback/Feature Requests (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=10)
-   -   remote logs? (http://www.litespeedtech.com/support/forum/showthread.php?t=555)

akke 08-31-2006 09:07 AM

remote logs?
 
Hi!

I have 3 webservers and I want them to log their accesslog to a dedicated log-server which will do the processing for the statistics.

Now, my current setup is to have the 3 webservers log locally and each night the log is rotated and uploaded to the dedicated server.

My question is, is there a way to have the 3 webservers log in realtime to the dedicated server? Without using NFS? (syslog-ng or something maybe? any experiences?)

Thanks!

xing 08-31-2006 10:23 AM

akke,

I think this is what you are looking for.

http://www.litespeedtech.com/docs/we...og_pipedLogger

akke 08-31-2006 12:30 PM

Hmmmm. But which program should I be using to have it piped to another server then? Is there anything publicly available that can do this reliably?

mistwang 08-31-2006 01:25 PM

You can search for "remote logging" solution for apache, LSWS can do exactly the same. Seems using syslogd is the simpliest solution.

For using piped Logger, you can write a Perl script to forward content received from STDIN to remote server via TCP socket. On remote server, a deamon process which can receive data and log into a file. We don't have any experiences with that kind of setup.


All times are GMT -7. The time now is 11:14 AM.