|
From: Ronald v. K. <rv...@ab...> - 2003-03-29 11:45:44
|
If you want to log the complete messages going in and out (at debug
level) you have to convert them in a way (xml -> string)
Ronald
Patrick Yee probeerde het volgende duidelijk te maken op 29-03-03 06:36:
>Thank you for you suggestion. We are doing logging restrucuring recently. So
>it is the right time to take care this.
>
>I am not too sure at one point: why xml -> string conversion is needed when
>using logger? Is this specific to your messaging system only?
>
>Cheers, -Patrick
>
>----- Original Message -----
>From: "Ronald van Kuijk" <rv...@ab...>
>To: "freebxml" <ebx...@li...>
>Sent: Saturday, March 29, 2003 08:29 AM
>Subject: [ebxmlms-develop] logging remark
>
>
>
>
>>Hi,
>>
>>I've seen that all logging is done without checking whether the
>>specified loglevel is even configured. We've seen in our Messaging
>>System that first checking if a certain loglevel is configured gave us
>>3-7% performance gain. This was due to the fact that on man ocasions xml
>>-> string conversions were needed as well as string
>>
>>
>creation/concatenation.
>
>
>>So instead of
>>
>>logger.debug("A message");
>>
>>we now do
>>
>>if (logger.isDebugEnabled()) {
>> logger.debug("A message");
>>}
>>
>>I do not know what the gain will be in hermes since i've not looked
>>through all the code. It's probably not that much since debug info is
>>not that detailed, but I thought I'd just mention it.
>>
>>Ronald
>>
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by:
>>The Definitive IT and Networking Event. Be There!
>>NetWorld+Interop Las Vegas 2003 -- Register today!
>>http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
>>_______________________________________________
>>ebxmlms-develop mailing list
>>ebx...@li...
>>https://lists.sourceforge.net/lists/listinfo/ebxmlms-develop
>>
>>
>>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by:
>The Definitive IT and Networking Event. Be There!
>NetWorld+Interop Las Vegas 2003 -- Register today!
>http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
>_______________________________________________
>ebxmlms-develop mailing list
>ebx...@li...
>https://lists.sourceforge.net/lists/listinfo/ebxmlms-develop
>
>
|