You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Martin Knoblauch <sp...@knobisoft.de> on 2005/10/19 13:41:44 UTC

How to configure logfile and options for mod_jk2

Hi,

 after a lot of googling and looking at the jk2 documentation and code,
I am still lost. My configuration is: apache2 (2.0.55) + mod_jk2
(2.0.4) + tomcat (5.0.30). [is this the right mod_jk2 for this
combination ??]

 I want to redirect all mod_jk2 messages into a separate file. I also
want to log only "warning" kind of messages. What I need is a simple
receipe where to put the adequate directives. Sorry if this is a stupid
question.

 At the moment the file /var/log/httpd/error_log is "spammed" with
"notice" stuff like this (timestamp removed):

[notice] shm.createSlot() Created slot 8
[notice] workerEnv.init() create slot epStat.8
[notice] channelApr.open(): create tcp socket 136187952
[notice] channelApr.receive(): Received len=145 type=4
[notice] channelApr.receive(): Received len=736 type=3
[notice] channelApr.receive(): Received len=2 type=5
[notice] shm.getSlot() found existing slot 0 epStat.0
[notice] shm.getSlot() found existing slot 8192 epStat.2
[notice] shm.getSlot() found existing slot 16384 epStat.3
[notice] shm.getSlot() found existing slot 24576 epStat.4
[notice] channelApr.receive(): Received len=147 type=4
[notice] channelApr.receive(): Received len=6430 type=3

 So, how do I shut that up? Any help is appreciated. I already tried
stuff like JKLogFile or logger.file, but no real success :-(

Cheers
Martin


------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de

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


Re: How to configure logfile and options for mod_jk2

Posted by Markus Schönhaber <ma...@schoenhaber.de>.
Am Mittwoch, 19. Oktober 2005 13:41 schrieb Martin Knoblauch:
> Hi,
>
>  after a lot of googling and looking at the jk2 documentation and code,
> I am still lost. My configuration is: apache2 (2.0.55) + mod_jk2
> (2.0.4) + tomcat (5.0.30). [is this the right mod_jk2 for this
> combination ??]
>
>  I want to redirect all mod_jk2 messages into a separate file. I also
> want to log only "warning" kind of messages. What I need is a simple
> receipe where to put the adequate directives. Sorry if this is a stupid
> question.
>
>  At the moment the file /var/log/httpd/error_log is "spammed" with
> "notice" stuff like this (timestamp removed):
>
> [notice] shm.createSlot() Created slot 8
> [notice] workerEnv.init() create slot epStat.8
> [notice] channelApr.open(): create tcp socket 136187952
> [notice] channelApr.receive(): Received len=145 type=4
> [notice] channelApr.receive(): Received len=736 type=3
> [notice] channelApr.receive(): Received len=2 type=5
> [notice] shm.getSlot() found existing slot 0 epStat.0
> [notice] shm.getSlot() found existing slot 8192 epStat.2
> [notice] shm.getSlot() found existing slot 16384 epStat.3
> [notice] shm.getSlot() found existing slot 24576 epStat.4
> [notice] channelApr.receive(): Received len=147 type=4
> [notice] channelApr.receive(): Received len=6430 type=3
>
>  So, how do I shut that up? Any help is appreciated. I already tried
> stuff like JKLogFile or logger.file, but no real success :-(

AFAIK jk2 isn't actively developed any more. Instead, the use of jk is 
recommended. Docs ar here:
http://tomcat.apache.org/connectors-doc/index.html
The HowTo contains a configuration example:
http://tomcat.apache.org/connectors-doc/howto/apache.html

Regards
  mks

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