RE: Antwort: Tomcat 7: Access Valve pattern cipher, SSL Protocol

2020-01-16 Thread Palod, Manish
Hi Mark, Peter,

Adding "%{javax.servlet.request.cipher_suite}r 
%{org.apache.tomcat.util.net.secure_protocol_version}r" into Access Valve 
generated the intended logs.

Thank you for the advice.

Regards
Manish

-Original Message-
From: Mark Thomas  
Sent: Thursday, January 16, 2020 10:24 PM
To: users@tomcat.apache.org
Subject: Re: Antwort: Tomcat 7: Access Valve pattern cipher, SSL Protocol

CAUTION: External email. Do not click links or open attachments unless you 
recognize the sender and know the content is safe.

On 16/01/2020 15:02, Peter Köhler wrote:
> Hi Palod,
> 
> i think you can do it with:
> 
> JAVA_OPTS="$JAVA_OPTS  -Djavax.net.debug=ssl,handshake"

That won't do what the OP asked.

These should work:

%{javax.servlet.request.cipher_suite}r
%{org.apache.tomcat.util.net.secure_protocol_version}r

Mark

> 
> Regards
> 
> peter
> 
> 
> 
> Von:"Palod, Manish" 
> An: "users@tomcat.apache.org" 
> Datum:  16.01.2020 15:58
> Betreff:Tomcat 7:  Access Valve pattern  cipher, SSL Protocol
> 
> 
> 
> Hi All,
> 
> I am using tomcat 7 and for audit purpose, want to see cipher and SSL 
> protocol used in the request.
> 
> How should I mention these attributes in the Access Valve pattern to 
> get these info in the logs.
> 
> Regards
> Manish
> 
> 
> 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Antwort: Tomcat 7: Access Valve pattern cipher, SSL Protocol

2020-01-16 Thread Mark Thomas
On 16/01/2020 15:02, Peter Köhler wrote:
> Hi Palod,
> 
> i think you can do it with:
> 
> JAVA_OPTS="$JAVA_OPTS  -Djavax.net.debug=ssl,handshake"

That won't do what the OP asked.

These should work:

%{javax.servlet.request.cipher_suite}r
%{org.apache.tomcat.util.net.secure_protocol_version}r

Mark

> 
> Regards
> 
> peter
> 
> 
> 
> Von:"Palod, Manish" 
> An: "users@tomcat.apache.org" 
> Datum:  16.01.2020 15:58
> Betreff:Tomcat 7:  Access Valve pattern  cipher, SSL Protocol
> 
> 
> 
> Hi All,
> 
> I am using tomcat 7 and for audit purpose, want to see cipher and SSL 
> protocol used in the request.
> 
> How should I mention these attributes in the Access Valve pattern to get 
> these info in the logs.
> 
> Regards
> Manish
> 
> 
> 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Antwort: Tomcat 7: Access Valve pattern cipher, SSL Protocol

2020-01-16 Thread Peter Köhler
Hi Palod,

i think you can do it with:

JAVA_OPTS="$JAVA_OPTS  -Djavax.net.debug=ssl,handshake"

Regards

peter



Von:"Palod, Manish" 
An: "users@tomcat.apache.org" 
Datum:  16.01.2020 15:58
Betreff:    Tomcat 7:  Access Valve pattern  cipher, SSL Protocol



Hi All,

I am using tomcat 7 and for audit purpose, want to see cipher and SSL 
protocol used in the request.

How should I mention these attributes in the Access Valve pattern to get 
these info in the logs.

Regards
Manish




Tomcat 7: Access Valve pattern cipher, SSL Protocol

2020-01-16 Thread Palod, Manish
Hi All,

I am using tomcat 7 and for audit purpose, want to see cipher and SSL protocol 
used in the request.

How should I mention these attributes in the Access Valve pattern to get these 
info in the logs.

Regards
Manish


tomcat and access valve

2009-09-11 Thread daniel steel
All,
 i have a question regarding the access valve component and following pattern 
code.

%D - Time taken to process the request, in millis

we are troubleshooting performance issue and hence have enabled access log with 
above pattern code.

in one of the server, a test jsp was logged with 1224 milliseconds as the 
execution time.
the test jsp was monitoring each operation and the over all time was about 183 
milliseconds.

So the question i have is, is what was happening for 1041 milliseconds?

1. the tomcat version is 6.0.16
2. we have JNDI - AD authentication enabled
3. the jsp could have been compiled at runtime on first access.

Does the 2 and 3 steps included in the execution time or the execution time is 
purely the code execution time?

thank you
dan



  

Re: tomcat and access valve

2009-09-11 Thread Mark Thomas
daniel steel wrote:
 All,
  i have a question regarding the access valve component and following pattern 
 code.
 
 %D - Time taken to process the request, in millis
 
 we are troubleshooting performance issue and hence have enabled access log 
 with above pattern code.
 
 in one of the server, a test jsp was logged with 1224 milliseconds as the 
 execution time.
 the test jsp was monitoring each operation and the over all time was about 
 183 milliseconds.
 
 So the question i have is, is what was happening for 1041 milliseconds?
 
 1. the tomcat version is 6.0.16
 2. we have JNDI - AD authentication enabled
 3. the jsp could have been compiled at runtime on first access.
 
 Does the 2 and 3 steps included in the execution time or the execution time 
 is purely the code execution time?

The access log valve will include 2  3.

Mark




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat and access valve

2009-09-11 Thread daniel steel
thanks mark. that was helpful.





From: Mark Thomas ma...@apache.org
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, September 11, 2009 12:23:48 PM
Subject: Re: tomcat and access valve

daniel steel wrote:
 All,
  i have a question regarding the access valve component and following pattern 
 code.
 
 %D - Time taken to process the request, in millis
 
 we are troubleshooting performance issue and hence have enabled access log 
 with above pattern code.
 
 in one of the server, a test jsp was logged with 1224 milliseconds as the 
 execution time.
 the test jsp was monitoring each operation and the over all time was about 
 183 milliseconds.
 
 So the question i have is, is what was happening for 1041 milliseconds?
 
 1. the tomcat version is 6.0.16
 2. we have JNDI - AD authentication enabled
 3. the jsp could have been compiled at runtime on first access.
 
 Does the 2 and 3 steps included in the execution time or the execution time 
 is purely the code execution time?

The access log valve will include 2  3.

Mark




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org