[Resin-interest] getting response header in load balancer access logs

2012-02-27 Thread Chris Hart
Hi,

I'm having trouble getting the Set-Cookie response header into the access logs 
on our load balancer.  I've tested this exact same access-log configuration 
locally with an instance of resin that is not behind any load balancer and it 
seems to work, but this isn't working in our load balanced production 
environment.  It's currently just logging - at the end of the access log 
line.  Here's what our load balancer's configuration looks like:


access-log
path/var/log/resin/ariel/master-access.log/path
format
%{Host}i %h %l %u %t %r %s %b %{Referer}i %{User-Agent}i 
%{X-Forwarded-For}i %{JSESSIONID}c %{ariel}c %{SSLB}c %D %{Cookie}i 
%{Set-Cookie}o
/format
rollover-period1D/rollover-period
rollover-size-1/rollover-size
archive-formatmaster-access-%Y%m%d.log.gz/archive-format
/access-log



Any help is greatly appreciated.

Thanks,
Chris


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] getting response header in load balancer access logs

2012-02-27 Thread Alex Rojkov
Hi Chris,

I could't reproduce this on version 4.0.25. What version are you running?

Thanks,
Alex

On 2012-02-27, at 2:10 PM, Chris Hart wrote:

 Hi,
 
 I'm having trouble getting the Set-Cookie response header into the access 
 logs on our load balancer.  I've tested this exact same access-log 
 configuration locally with an instance of resin that is not behind any load 
 balancer and it seems to work, but this isn't working in our load balanced 
 production environment.  It's currently just logging - at the end of the 
 access log line.  Here's what our load balancer's configuration looks like:
 
 
 access-log
   path/var/log/resin/ariel/master-access.log/path
   format
   %{Host}i %h %l %u %t %r %s %b %{Referer}i %{User-Agent}i 
 %{X-Forwarded-For}i %{JSESSIONID}c %{ariel}c %{SSLB}c %D %{Cookie}i 
 %{Set-Cookie}o
   /format
   rollover-period1D/rollover-period
   rollover-size-1/rollover-size
   archive-formatmaster-access-%Y%m%d.log.gz/archive-format
 /access-log
 
 
 
 Any help is greatly appreciated.
 
 Thanks,
 Chris
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] getting response header in load balancer access logs

2012-02-27 Thread Chris Hart
Hi Alex,

Thanks for the reply.  I'm using resin-pro-3.1.3.  Again, it seems to work when 
I hit a single instance of resin that directly serves the requests, but when 
there's a load balancer involved, the load balancer doesn't log it.  Did you 
try this access log line on a load balancer running 4.0.25?

Thanks,
Chris

- Original Message -
From: Alex Rojkov a...@caucho.com
To: General Discussion for the Resin application server 
resin-interest@caucho.com
Sent: Monday, February 27, 2012 2:59:58 PM
Subject: Re: [Resin-interest] getting response header in load balancer  access 
logs

Hi Chris,

I could't reproduce this on version 4.0.25. What version are you running?

Thanks,
Alex

On 2012-02-27, at 2:10 PM, Chris Hart wrote:

 Hi,
 
 I'm having trouble getting the Set-Cookie response header into the access 
 logs on our load balancer.  I've tested this exact same access-log 
 configuration locally with an instance of resin that is not behind any load 
 balancer and it seems to work, but this isn't working in our load balanced 
 production environment.  It's currently just logging - at the end of the 
 access log line.  Here's what our load balancer's configuration looks like:
 
 
 access-log
   path/var/log/resin/ariel/master-access.log/path
   format
   %{Host}i %h %l %u %t %r %s %b %{Referer}i %{User-Agent}i 
 %{X-Forwarded-For}i %{JSESSIONID}c %{ariel}c %{SSLB}c %D %{Cookie}i 
 %{Set-Cookie}o
   /format
   rollover-period1D/rollover-period
   rollover-size-1/rollover-size
   archive-formatmaster-access-%Y%m%d.log.gz/archive-format
 /access-log
 
 
 
 Any help is greatly appreciated.
 
 Thanks,
 Chris
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] getting response header in load balancer access logs

2012-02-27 Thread Alex Rojkov
 Hi Alex,
 
 Thanks for the reply.  I'm using resin-pro-3.1.3.  Again, it seems to work 
 when I hit a single instance of resin that directly serves the requests, but 
 when there's a load balancer involved, the load balancer doesn't log it.  Did 
 you try this access log line on a load balancer running 4.0.25?

Hm... It looks like a bug actually and it affects 4.0 as well. Thanks for 
reporting, my initial test was incorrect.

resin-3.1: http://bugs.caucho.com/view.php?id=4966
resin-4.0: http://bugs.caucho.com/view.php?id=4965

Alex

 
 Thanks,
 Chris
 
 - Original Message -
 From: Alex Rojkov a...@caucho.com
 To: General Discussion for the Resin application server 
 resin-interest@caucho.com
 Sent: Monday, February 27, 2012 2:59:58 PM
 Subject: Re: [Resin-interest] getting response header in load balancer
 access logs
 
 Hi Chris,
 
 I could't reproduce this on version 4.0.25. What version are you running?
 
 Thanks,
 Alex
 
 On 2012-02-27, at 2:10 PM, Chris Hart wrote:
 
 Hi,
 
 I'm having trouble getting the Set-Cookie response header into the access 
 logs on our load balancer.  I've tested this exact same access-log 
 configuration locally with an instance of resin that is not behind any load 
 balancer and it seems to work, but this isn't working in our load balanced 
 production environment.  It's currently just logging - at the end of the 
 access log line.  Here's what our load balancer's configuration looks like:
 
 
 access-log
  path/var/log/resin/ariel/master-access.log/path
  format
  %{Host}i %h %l %u %t %r %s %b %{Referer}i %{User-Agent}i 
 %{X-Forwarded-For}i %{JSESSIONID}c %{ariel}c %{SSLB}c %D %{Cookie}i 
 %{Set-Cookie}o
  /format
  rollover-period1D/rollover-period
  rollover-size-1/rollover-size
  archive-formatmaster-access-%Y%m%d.log.gz/archive-format
 /access-log
 
 
 
 Any help is greatly appreciated.
 
 Thanks,
 Chris
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest