logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lutz Michael <michael.h.l...@siemens.com>
Subject RE: Lo4J synchronized
Date Thu, 09 Dec 2004 19:18:24 GMT

The synchronized region I believe only executes if a call is enabled.  Since
most calls are disabled the impact is quite limited.

The region is synchronized because the configuration can change at runtime
(configureAndWatch), and whenever multiple threads work on shared data you
basically must synchronize.

-----Original Message-----
From: Lenin David Lozano Argel [mailto:LeniLoAr@suramericana.com.co]
Sent: Thursday, December 09, 2004 1:56 PM
To: log4j-user@logging.apache.org
Subject: Lo4J synchronized

Can anyone explain me Why the callAppenders method on the class Category has
a synchronized block? What implies that on the application performance?

Lenin David Lozano Argel
Analista Arquitectura Informática
Gerencia de Desarrollo
Suramericana S.A.
Email: leniloar@suramericana.com.co
Tel: (+574)4355596, Medellin - Colombia

La información adjunta es exclusiva para la persona a la cual se dirige este
mensaje, la cual puede contener información confidencial y/o material
privilegiado. Cualquier revisión, retransmisión, diseminación o uso del
mismo, así como cualquier acción que se tome respecto a la información
contenida, por personas o entidades diferente al propósito original de las
misma, es ilegal. Si usted recibe este mensaje por error, favor notifíqueme
y elimine ese material.
Este mensaje y sus anexos han sido sometidos a programas antivirus, por lo
cual consideramos se encuentra libre de virus o cualquier anomalía que pueda
afectar a terceros, sin embargo, el destinatario debe verificar con sus
propias protecciones que ellos no están afectados por virus u otros
defectos, en cuyo caso, el remitente no asume responsabilidad alguna por el
recibo, transmisión y uso de este material.

The information transmitted here within is sensitive information intended
only for use of the individual or entity to which it is addresses. If the
reader of this message is not the intended recipient, you are hereby
notified that any review, retransmission, dissemination, distribution,
copying or other use of, or taking of any action in reliance upon, this
information is strictly prohibited. IF you have received this communication
in error, please contact the sender and delete the material from your
Viruses: The message and its attachments are considered to be free of any
virus or other defect. Nevertheless, we advise the recipient to verify that
the material is virus free. Suramericana is not responsible for any loss or
damages arising out of the transmission, use or handling of this matrial.

This message and any included attachments are from Siemens Medical Solutions
USA, Inc. and are intended only for the addressee(s). 
The information contained herein may include trade secrets or privileged or
otherwise confidential information.  Unauthorized review, forwarding, printing,
copying, distributing, or using such information is strictly prohibited and may
be unlawful.  If you received this message in error, or have reason to believe
you are not authorized to receive it, please promptly delete this message and
notify the sender by e-mail with a copy to Central.SecurityOffice@shs.siemens.com

Thank you

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message