Re: HTTPD Logwatch

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




I am naive user..but this is what comes to my mind...please see if this helps

- create seperate logs per website...

SetEnvIf Referer www\.mydomain1\.com site1_request
CustomLog logs/mydomain1_log common env=site1_request

SetEnvIf Referer www\.mydomain2\.com site2_request
CustomLog logs/mydomain2_log common env=site2_request
...


Regards,
kaustubh

On Fri, Dec 25, 2009 at 5:43 AM, André Warnier <aw@xxxxxxxxxx> wrote:
Asai wrote:
I manage about 20 websites.  So I need to see which ones are reporting which things.  I've checked the custom log in the past, it didn't do what I wanted, but perhaps I didn't understand what I was doing--which is quite likely.

Maybe you want to explain what you mean by "logwatch" then ?
If this is a separate program from the Apache httpd suite, do not assume anyone here knows what you are talking about.

As indicated below, you can change the format of the CustomLog to include pretty much anything you want.  Did you actually go look at these pages ?



André Warnier wrote:
Asai wrote:
Greetings,

Is there a way which I can expand the logwatch entries for httpd which will allow me to view the entire domain name instead of just the relative uri?  Like I have /this/page instead of www.mysite.com/this/page.

Can you explain what would be the point ?
Presumably, if clients access your site, you already know the name of the site, no ?

Or maybe you want to look at this page :
http://httpd.apache.org/docs/2.2/mod/directives.html
and lookup the "CustomLog" and "LogFormat" directives.


---------------------------------------------------------------------
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




---------------------------------------------------------------------
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



[Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]


Add to Google Powered by Linux