Re: How to configure logfile and options for mod_jk2

2005-10-19 Thread Markus Schönhaber
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to configure logfile and options for mod_jk2

2005-10-19 Thread Martin Knoblauch
  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

 thanks a lot. For reasons that I do not understand I always thought
that  mod_jk2 was the successor to mod_jk. Apparently this is no longer
true. The docs are not very clear about the relationships :-(

 Anyway, mod_jk 1.2.14 works great and does what I want :-)

Cheers
Martin




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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]