Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] RequestHandler logging

Subject: perfsonar development work

List archive

Re: [pS-dev] RequestHandler logging


Chronological Thread 
  • From: Roman Lapacz <>
  • To: Gijs Molenaar <>
  • Cc: Loukik Kudarimoti <>, Joost de Mes <>,
  • Subject: Re: [pS-dev] RequestHandler logging
  • Date: Fri, 16 Feb 2007 15:32:09 +0100

Gijs Molenaar wrote:

Hello Loukik,

Loukik Kudarimoti wrote:
Hi Joost,

It is possible to stop this logging. The log level is INFO so, if you modify the log4j.properties file to not write any logs for INFO level, they will disappear. Please bear in mind that you will loose all other logs which are at the level 'INFO'. Other alternatives are log circulation (restrict the max number of log files stored per level) and limiting log file size.

This log message can be quite useful while tracing a request which might be causing problems/bugs but in your case, I agree that this message might not be useful as you have a request coming in every 5 seconds.


I'm not sure if I agree on this point. Shouldn't INFO messages be information that is useful in a production environment, and messages useful for debugging a tracing requests DEBUG level?

I know we can decrease the verbosity level to WARNING or ERROR, but then we lose useful INFO messages from my MP which are not warnings or errors.

Hmm, we may expect that some of our services will receive a lot of requests frequently all the time or during long period. I don't mind to change log level in this case and use DEBUG.

Roman




Let us know if you need more help.

Loukik.


Joost de Mes wrote:
Hello everyone.

We have a keepalive mechanism in our flow subscription protocol that is used every 5 seconds.

In the log-file of the MP I get two lines every request:

2007-02-16 13:19:16,576 INFO - RequestHandler: Service received a request
2007-02-16 13:19:16,585 INFO - RequestHandler: Service sent a successful response

This message is quite useless and not informative. Next to that, I have a lot of log-files filled with this message.

So, is it possible to move these to DEBUG level, or delete them completely?

Thanks,

Joost





Archive powered by MHonArc 2.6.16.

Top of Page