On Jul 9, 2009, at 1:37 PM, Miguel Angel Torres Avila wrote:
If we select the Debug and Stdout options we revive output logs like
these:
DEBUG [WorkerThread4] - inserted WebObject with Name 'FileUpload1'.
DEBUG [WorkerThread4] - inserted WebObject with Name 'ImageButton3'.
DEBUG [WorkerThread4] - inserted WebObject with Name 'Conditional1'.
DEBUG [WorkerThread4] - inserted WebObject with Name 'Image1'.
DEBUG [WorkerThread4] - inserted WebObject with Name 'ImageButton1'.
DEBUG [WorkerThread4] - inserted WebObject with Name 'TextField2'.
DEBUG [WorkerThread4] - inserted WebObject with Name
'GenericContainer1'.
DEBUG [WorkerThread4] - inserted WebObject with Name
'ComponentContent1'.
DEBUG [WorkerThread4] - inserted WebObject with Name 'Div1'.
One for each WOObject / WOComponent that is inserted in the main
component that is being accessed. This makes difficult for reading
our debug logs and it looks that it is affecting the response
velocity of the application
I am not a log4j expert, does anybody know what can be happening?
Maybe you can turn those off. For example, on mine they look like this:
Jul 09 13:21:19 AjaxRD[53194] DEBUG
ognl.helperfunction.WOHelperFunctionParser - inserted WebObject with
Name 'HasBannerLogo'.
Jul 09 13:21:19 AjaxRD[53194] DEBUG
ognl.helperfunction.WOHelperFunctionParser - inserted WebObject with
Name 'BannerLogo'.
Jul 09 13:21:19 AjaxRD[53194] DEBUG
ognl.helperfunction.WOHelperFunctionParser - inserted WebObject with
Name 'UserInfo'.
Jul 09 13:21:19 AjaxRD[53194] DEBUG
ognl.helperfunction.WOHelperFunctionParser - inserted WebObject with
Name 'SearchMenu'.
Jul 09 13:21:19 AjaxRD[53194] DEBUG
ognl.helperfunction.WOHelperFunctionParser - inserted WebObject with
Name 'MainMenu'.
...
So if you notice they are being logged at DEBUG level by
WOHelperFunctionParser. So I think you just need to set that to info
level. Something like this in your properties I think would take care
of that:
log4j.logger.ognl.helperFunction.WOHelperFunctionParser=INFO
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]