Re: tomcat_trend.pl script is showing Unknown log entry for mod_jk

2008-09-24 Thread Rainer Jung

[EMAIL PROTECTED] wrote:

Hi Ankush,
As far as I know that scripts is not really maintained any more and need
a fair amount of tweaking. I might be wrong though.


That's true.

What kind of statistics do you want to produce?

Nowadays it's more convenient to not use JkRequestLogFormat (which mixed 
access log type line with the usual jk error log, but instead use the JK 
notes to directly log jk related information inline to the Apache access 
log.


See "mod_log_config" in

http://tomcat.apache.org/connectors-doc/reference/apache.html

Regards,

Rainer


-Original Message-
From: ankush grover [mailto:[EMAIL PROTECTED] 
Sent: 23 September 2008 12:16

To: users@tomcat.apache.org
Subject: tomcat_trend.pl script is showing Unknown log entry 
for mod_jk


Hi friends,

I am running mod_jk 1.2.26 on Centos 5.2 64-bit with Apache 
2.2.3 64-bit. I am trying to generate the mod_jk statistical 
data through tomcat_trend.pl and tomcat_report.pl scripts but 
unfortunately tomcat_trend.pl script is showing "Unknown log 
entry" when I am giving the path for reading the mod_jk.log file



./tomcat_trend.pl   /var/log/httpd//var/www/html/reports

Output
Unknown log entry: [Sun Sep 21 04:58:01 2008] worker6 
webserver.example.com 0.027690 /webserver/board.jsp


worker.properties

 JkWorkersFile /etc/httpd/conf/workers.properties
  JkShmSize   10M
  JkLogLevel  info
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
  JkRequestLogFormat "%w %V %T %U%q"

What I am able to understand is the format of the mod_jk.log 
differs from the script. What should be the format for mod_jk 
logs so that this script can read this.



Regards

Ankush


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat_trend.pl script is showing Unknown log entry for mod_jk

2008-09-23 Thread Gerhardus.Geldenhuis
Hi Ankush,
As far as I know that scripts is not really maintained any more and need
a fair amount of tweaking. I might be wrong though.

Regards 

> -Original Message-
> From: ankush grover [mailto:[EMAIL PROTECTED] 
> Sent: 23 September 2008 12:16
> To: users@tomcat.apache.org
> Subject: tomcat_trend.pl script is showing Unknown log entry 
> for mod_jk
> 
> Hi friends,
> 
> I am running mod_jk 1.2.26 on Centos 5.2 64-bit with Apache 
> 2.2.3 64-bit. I am trying to generate the mod_jk statistical 
> data through tomcat_trend.pl and tomcat_report.pl scripts but 
> unfortunately tomcat_trend.pl script is showing "Unknown log 
> entry" when I am giving the path for reading the mod_jk.log file
> 
> 
> ./tomcat_trend.pl   /var/log/httpd//var/www/html/reports
> 
> Output
> Unknown log entry: [Sun Sep 21 04:58:01 2008] worker6 
> webserver.example.com 0.027690 /webserver/board.jsp
> 
> worker.properties
> 
>  JkWorkersFile /etc/httpd/conf/workers.properties
>   JkShmSize   10M
>   JkLogLevel  info
>   JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>   JkRequestLogFormat "%w %V %T %U%q"
> 
> What I am able to understand is the format of the mod_jk.log 
> differs from the script. What should be the format for mod_jk 
> logs so that this script can read this.
> 
> 
> Regards
> 
> Ankush
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org To 
> unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat_trend.pl script is showing Unknown log entry for mod_jk

2008-09-23 Thread ankush grover
Hi friends,

I am running mod_jk 1.2.26 on Centos 5.2 64-bit with Apache 2.2.3
64-bit. I am trying to generate the mod_jk statistical data through
tomcat_trend.pl and tomcat_report.pl scripts but unfortunately
tomcat_trend.pl script is showing "Unknown log entry" when I am giving
the path for reading the mod_jk.log file


./tomcat_trend.pl   /var/log/httpd//var/www/html/reports

Output
Unknown log entry: [Sun Sep 21 04:58:01 2008] worker6
webserver.example.com 0.027690 /webserver/board.jsp

worker.properties

 JkWorkersFile /etc/httpd/conf/workers.properties
  JkShmSize   10M
  JkLogLevel  info
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
  JkRequestLogFormat "%w %V %T %U%q"

What I am able to understand is the format of the mod_jk.log differs
from the script. What should be the format for mod_jk logs so that
this script can read this.


Regards

Ankush

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]