[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VS: Apache 2.x remote logging



Tommi Pisto schrieb:

> #!/usr/bin/perl -w
> 
> while($input = <STDIN>) {
> 
>     # Split string
>     ($filename,$log_string) = split(/\|/,$input);
> 
>     # Output to file
>     $file = "/home/www/logs/access_".$filename.".log";
> 
>     open(FILE_OUT,"+>>$file");
>     print FILE_OUT $log_string;
>     close(FILE_OUT);
> }

This won't go remote? It is similar to apt-cache search vlogger. But
Vlogger can write into a (remote) mysql DB.

rgds,
Andreas



Reply to: