|
From: Leif M. <le...@ta...> - 2003-10-21 20:38:34
|
Arun,
Short answer, you can't the Wrapper's debug level is meant for
debugging the Wrapper.
Not for controlling DEBUG level output from the user application.
The INFO level PING statements are actually disabled if all log
levels are set to at least
INFO. They show as INFO because all console output from the JVM is
displayed at
the INFO log level. I hope to fix this in the future but do not have an
efficient way to do
so yet.
One option is for you to reduce the ping frequency to make this less
of an issue.
This can be done using the wrapper.ping.interval property:
http://wrapper.tanukisoftware.org/doc/english/prop-ping-interval.html
BIG WARNING however. Doing so will reduce the Wrapper's ability to
detect if the
JVM is frozen. If you play with this value during development, be sure
to remember
to set it back to its default value before deploying the application.
Cheers,
Leif
Ramachandra, Arun wrote:
> I get the message shown below regularly in the log file. This happens
> when the wrapper is pinging the jvm. HOwever i do not want this
> message to appear while wanting all other messages with log level of
> debug and info to come in the wrapper.log.
>
> How can we do this?
>
> -Thanks
> -Arun
>
> DEBUG | wrapperp | 2003/10/21 06:36:45 | send a packet PING : ping
> INFO | jvm 1 | 2003/10/21 06:36:45 | Received a packet PING : ping
> INFO | jvm 1 | 2003/10/21 06:36:45 | Send a packet PING : ok
> DEBUG | wrapperp | 2003/10/21 06:36:45 | read a packet PING : ok
> DEBUG | wrapper | 2003/10/21 06:36:45 | Got ping response from JVM
> DEBUG | wrapperp | 2003/10/21 06:36:51 | send a packet PING : ping
> INFO | jvm 1 | 2003/10/21 06:36:51 | Received a packet PING : ping
> INFO | jvm 1 | 2003/10/21 06:36:51 | Send a packet PING : ok
> DEBUG | wrapperp | 2003/10/21 06:36:51 | read a packet PING : ok
> DEBUG | wrapper | 2003/10/21 06:36:51 | Got ping response from JVM
> DEBUG | wrapperp | 2003/10/21 06:36:57 | send a packet PING : ping
> INFO | jvm 1 | 2003/10/21 06:36:57 | Received a packet PING : ping
> INFO | jvm 1 | 2003/10/21 06:36:57 | Send a packet PING : ok
> DEBUG | wrapperp | 2003/10/21 06:36:57 | read a packet PING : ok
> DEBUG | wrapper | 2003/10/21 06:36:57 | Got ping response from JVM
> DEBUG | wrapperp | 2003/10/21 06:37:03 | send a packet PING : ping
> INFO | jvm 1 | 2003/10/21 06:37:03 | Received a packet PING : ping
> INFO | jvm 1 | 2003/10/21 06:37:03 | Send a packet PING : ok
> DEBUG | wrapperp | 2003/10/21 06:37:03 | read a packet PING :
> okw...@li...
>
|