Re: Fwd: Centos and logs

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



On Tue, Nov 18, 2014 at 05:03:30PM +0200, Alan Holt (berber.it@xxxxxxxxx) wrote:
> Hello,
> 
> may be anyone familiar with some tool for viewing logs.
> I mean web-interface based, simple solution.
> 
> I have developers, and I can't give them access to my Centos servers, but
> they want to see logs of Apache. I want to give them address like
> 172.17.17.21/logs and they will be able to watch logs of Apache in browser.
> 
> I was looking a lot for something like this, but didn't find.
> Alex.
> 

You could use NFS, exportfs the apache log directory to 127.0.0.1 only,
make a directory somewhere accessible to the developers outside the root of the server
and mount the apache log directory to that dir READONLY.

Alternatively you can change the log directory location in http.conf to
somewhere the developers can access it but outside the root of the server. 
Since apache AND the developers must be able to access it this should be no problem.


Jobst


-- 
main(){for (;;) fputc(NULL,rand() % 2);)

  | |0| |   Jobst Schmalenbach, jobst@xxxxxxxxxxxxxx, General Manager
  | | |0|   Barrett Consulting Group P/L & The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux