Re: [users@httpd] mod_cache logging

2013-03-08 Thread Thiago Bemerguy
Thanks, it worked 2013/3/7 Eric Covener > On Thu, Mar 7, 2013 at 8:12 AM, Thiago Bemerguy > wrote: > > I am using 2.2, I didn't notice it was about 2.4. Isn't there anyway to > log > > mod_cache in 2.2? > > SetEnv CACHE_MISS 1 and then log it and/or %{Age}o > >

Re: [users@httpd] mod_cache logging

2013-03-07 Thread Eric Covener
On Thu, Mar 7, 2013 at 8:12 AM, Thiago Bemerguy wrote: > I am using 2.2, I didn't notice it was about 2.4. Isn't there anyway to log > mod_cache in 2.2? SetEnv CACHE_MISS 1 and then log it and/or %{Age}o - To unsubscribe, e-mail

Re: [users@httpd] mod_cache logging

2013-03-07 Thread Thiago Bemerguy
I am using 2.2, I didn't notice it was about 2.4. Isn't there anyway to log mod_cache in 2.2? 2013/3/6 Igor Cicimov > > On 07/03/2013 3:01 AM, "Thiago Bemerguy" wrote: > > > > http://httpd.apache.org/docs/current/mod/mod_cache.html#status > > > > Based on the caching decision made, the reason

Re: [users@httpd] mod_cache logging

2013-03-06 Thread Igor Cicimov
On 07/03/2013 3:01 AM, "Thiago Bemerguy" wrote: > > http://httpd.apache.org/docs/current/mod/mod_cache.html#status > > Based on the caching decision made, the reason is also written to the subprocess environment under one the following four keys, as appropriate: > > cache-hit > The response was se

Re: [users@httpd] mod_cache logging

2013-03-06 Thread Thiago Bemerguy
http://httpd.apache.org/docs/current/mod/mod_cache.html#status Based on the caching decision made, the reason is also written to the subprocess environment under one the following four keys, as appropriate: cache-hitThe response was served from cache.cache-revalidateThe response was stale and was

Re: [users@httpd] mod_cache logging

2013-03-06 Thread Igor Cicimov
[httpd.conf] > LogLevel debug > > CustomLog logs/cached-requests.log common env=cache-hit > CustomLog logs/uncached-requests.log common env=cache-miss > CustomLog logs/revalidated-requests.log common env=cache-revalidate > CustomLog logs/invalidated-requests.log common env=cache-invalidate > > LogF

Re: [users@httpd] mod_cache logging

2013-03-06 Thread Thiago Bemerguy
yes # apachectl -t -D DUMP_MODULES | grep cache cache_module (shared) disk_cache_module (shared) Syntax OK 2013/3/6 Igor Cicimov > > > > On Wed, Mar 6, 2013 at 11:55 PM, Thiago Bemerguy > wrote: > >> Hello, >> >> I configured mod_cache and mod_disk_cache in my Apache Reverse Proxy, and >>

Re: [users@httpd] mod_cache logging

2013-03-06 Thread Igor Cicimov
On Wed, Mar 6, 2013 at 11:55 PM, Thiago Bemerguy wrote: > Hello, > > I configured mod_cache and mod_disk_cache in my Apache Reverse Proxy, and > I want to check if the requests are being treated by the cache or sent to > the webserver, but I can't see any logs from Apache Cache modules, even the >