Re: [users@httpd] Remote log files?

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

 



On 30.06.06 18:12, Khai Doan wrote:
> For me, I wrote a simple script send_apache_log.pl, which read apache log 
> files, print it to STDOUT, remember where it left off by writing to a file 
> in /tmp.

there is program "since" that can do the same.

>  I install this on the servers.  Then on my other workstation, I 
> have another script collect_apache_log.pl, which run periodically via cron, 
> that invoke the remote script via passwordless-ssh.  I am not a security 
> expert, but this seems to be better than using syslog utility.

We use syslog for remote logging (not only apache logs). We have "tail -f"
running over logfiles, that sends its output to remote syslog machine via
"logger" program which sends it to syslog. (I know this is not the most
reliable or effective way, but currently we don't have anything better).

Another way is sending logfiles directly via pipe to logger program, apache
can do this.

And I was still talking about syslog ;-)

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Depression is merely anger without enthusiasm. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux